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
ffb7ace4
Commit
ffb7ace4
authored
Dec 05, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Dec 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use inner window's outer_window in IHTMLDocument2::readyState.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
30c07496
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
htmldoc.c
dlls/mshtml/htmldoc.c
+1
-1
navigation.js
dlls/mshtml/tests/navigation.js
+1
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
ffb7ace4
...
...
@@ -905,7 +905,7 @@ static HRESULT WINAPI HTMLDocument_get_readyState(IHTMLDocument2 *iface, BSTR *p
if
(
!
p
)
return
E_POINTER
;
return
get_readystate_string
(
This
->
outer_window
?
This
->
outer_window
->
readystate
:
0
,
p
);
return
get_readystate_string
(
This
->
window
&&
This
->
window
->
base
.
outer_window
?
This
->
window
->
base
.
outer_window
->
readystate
:
0
,
p
);
}
static
HRESULT
WINAPI
HTMLDocument_get_frames
(
IHTMLDocument2
*
iface
,
IHTMLFramesCollection2
**
p
)
...
...
dlls/mshtml/tests/navigation.js
View file @
ffb7ace4
...
...
@@ -119,6 +119,7 @@ function detached_iframe_doc() {
expect_exception
(
function
()
{
origDoc
.
onclick
;
},
true
);
expect_exception
(
function
()
{
origDoc
.
toString
;
},
true
);
expect_exception
(
function
()
{
origDoc
.
toString
();
},
true
);
expect_exception
(
function
()
{
origDoc
.
readyState
;
},
true
);
expect_exception
(
function
()
{
origDoc
.
URL
;
});
expect_exception
(
function
()
{
origDoc
.
URL
=
"blank.html"
;
});
...
...
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