Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8a0cba82
Commit
8a0cba82
authored
Nov 20, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use Gecko inner window in HTMLXMLHttpRequestFactory_create.
parent
e68cc482
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
events.c
dlls/mshtml/tests/events.c
+0
-2
xmlhttprequest.c
dlls/mshtml/xmlhttprequest.c
+1
-4
No files found.
dlls/mshtml/tests/events.c
View file @
8a0cba82
...
@@ -3304,10 +3304,8 @@ static void test_window_refs(IHTMLDocument2 *doc)
...
@@ -3304,10 +3304,8 @@ static void test_window_refs(IHTMLDocument2 *doc)
IHTMLWindow2_Release
(
child
);
IHTMLWindow2_Release
(
child
);
hres
=
IHTMLXMLHttpRequestFactory_create
(
xhr_factory
,
&
xhr
);
hres
=
IHTMLXMLHttpRequestFactory_create
(
xhr_factory
,
&
xhr
);
todo_wine
ok
(
hres
==
S_OK
,
"create failed: %08lx
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"create failed: %08lx
\n
"
,
hres
);
IHTMLXMLHttpRequestFactory_Release
(
xhr_factory
);
IHTMLXMLHttpRequestFactory_Release
(
xhr_factory
);
if
(
hres
==
S_OK
)
IHTMLXMLHttpRequest_Release
(
xhr
);
hres
=
IHTMLImageElementFactory_create
(
image_factory
,
vempty
,
vempty
,
&
img_elem
);
hres
=
IHTMLImageElementFactory_create
(
image_factory
,
vempty
,
vempty
,
&
img_elem
);
ok
(
hres
==
S_OK
,
"create failed: %08lx
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"create failed: %08lx
\n
"
,
hres
);
...
...
dlls/mshtml/xmlhttprequest.c
View file @
8a0cba82
...
@@ -1686,10 +1686,7 @@ static HRESULT WINAPI HTMLXMLHttpRequestFactory_create(IHTMLXMLHttpRequestFactor
...
@@ -1686,10 +1686,7 @@ static HRESULT WINAPI HTMLXMLHttpRequestFactory_create(IHTMLXMLHttpRequestFactor
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
!
This
->
window
->
base
.
outer_window
)
nsxhr
=
create_nsxhr
(
This
->
window
->
dom_window
);
return
E_FAIL
;
nsxhr
=
create_nsxhr
(
This
->
window
->
base
.
outer_window
->
nswindow
);
if
(
!
nsxhr
)
if
(
!
nsxhr
)
return
E_FAIL
;
return
E_FAIL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment