mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Introduce Reflectable::global_scope
This commit is contained in:
parent
27f100b1d4
commit
ae6af5172b
30 changed files with 116 additions and 120 deletions
|
@ -242,7 +242,7 @@ fn fetch_a_classic_script(script: &HTMLScriptElement,
|
|||
_ => CredentialsMode::Include,
|
||||
},
|
||||
origin: doc.url().clone(),
|
||||
pipeline_id: Some(script.global().r().as_global_scope().pipeline_id()),
|
||||
pipeline_id: Some(script.global_scope().pipeline_id()),
|
||||
referrer_url: Some(doc.url().clone()),
|
||||
referrer_policy: doc.get_referrer_policy(),
|
||||
.. RequestInit::default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue