mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Use origin of final HTTP response as document origin.
This commit is contained in:
parent
518a55c80a
commit
bfd9bbe82a
4 changed files with 73 additions and 2 deletions
|
@ -3128,7 +3128,7 @@ impl ScriptThread {
|
|||
incomplete.pipeline_id,
|
||||
incomplete.parent_info,
|
||||
incomplete.window_size,
|
||||
origin,
|
||||
origin.clone(),
|
||||
incomplete.navigation_start,
|
||||
incomplete.navigation_start_precise,
|
||||
self.webgl_chan.as_ref().map(|chan| chan.channel()),
|
||||
|
@ -3212,7 +3212,7 @@ impl ScriptThread {
|
|||
&window,
|
||||
HasBrowsingContext::Yes,
|
||||
Some(final_url.clone()),
|
||||
incomplete.origin,
|
||||
origin,
|
||||
is_html_document,
|
||||
content_type,
|
||||
last_modified,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue