Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
da055b64
Commit
da055b64
authored
Mar 14, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Access document object via browser object in navigate_new_window.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
26d3e0c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
navigate.c
dlls/mshtml/navigate.c
+7
-4
No files found.
dlls/mshtml/navigate.c
View file @
da055b64
...
...
@@ -2253,8 +2253,11 @@ HRESULT navigate_new_window(HTMLOuterWindow *window, IUri *uri, const WCHAR *nam
nsChannelBSC
*
bsc
;
HRESULT
hres
;
if
(
window
->
doc_obj
->
client
)
{
hres
=
do_query_service
((
IUnknown
*
)
window
->
doc_obj
->
client
,
&
SID_SNewWindowManager
,
if
(
!
window
->
browser
)
return
E_UNEXPECTED
;
if
(
window
->
browser
->
doc
->
client
)
{
hres
=
do_query_service
((
IUnknown
*
)
window
->
browser
->
doc
->
client
,
&
SID_SNewWindowManager
,
&
IID_INewWindowManager
,
(
void
**
)
&
new_window_mgr
);
if
(
FAILED
(
hres
))
{
FIXME
(
"No INewWindowManager
\n
"
);
...
...
@@ -2272,8 +2275,8 @@ HRESULT navigate_new_window(HTMLOuterWindow *window, IUri *uri, const WCHAR *nam
}
hres
=
INewWindowManager_EvaluateNewWindow
(
new_window_mgr
,
display_uri
,
name
,
context_url
,
NULL
,
FALSE
,
window
->
doc_obj
->
has_popup
?
0
:
NWMF_FIRST
,
0
);
window
->
doc_obj
->
has_popup
=
TRUE
;
NULL
,
FALSE
,
window
->
browser
->
doc
->
has_popup
?
0
:
NWMF_FIRST
,
0
);
window
->
browser
->
doc
->
has_popup
=
TRUE
;
SysFreeString
(
display_uri
);
SysFreeString
(
context_url
);
INewWindowManager_Release
(
new_window_mgr
);
...
...
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