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
b9f0ac40
Commit
b9f0ac40
authored
Jul 25, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Set referrer in load_nsuri.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3296a18c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
nsio.c
dlls/mshtml/nsio.c
+10
-0
No files found.
dlls/mshtml/nsio.c
View file @
b9f0ac40
...
...
@@ -303,6 +303,16 @@ HRESULT load_nsuri(HTMLOuterWindow *window, nsWineURI *uri, nsIInputStream *post
assert
(
nsres
==
NS_OK
);
}
if
(
window
->
uri_nofrag
)
{
nsWineURI
*
referrer_uri
;
nsres
=
create_nsuri
(
window
->
uri_nofrag
,
window
,
window
->
doc_obj
?
window
->
doc_obj
->
nscontainer
:
NULL
,
NULL
,
&
referrer_uri
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsres
=
nsIDocShellLoadInfo_SetReferrer
(
load_info
,
(
nsIURI
*
)
&
referrer_uri
->
nsIFileURL_iface
);
assert
(
nsres
==
NS_OK
);
nsIFileURL_Release
(
&
referrer_uri
->
nsIFileURL_iface
);
}
}
uri
->
channel_bsc
=
channelbsc
;
doc
=
window
->
base
.
inner_window
->
doc
;
doc
->
skip_mutation_notif
=
TRUE
;
...
...
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