mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Change RequestInit origin type to ImmutableOrigin
This commit is contained in:
committed by
Fausto Núñez Alberro
parent
104e0b4730
commit
6032940fb8
@@ -261,7 +261,7 @@ impl<'a> StylesheetLoader<'a> {
|
||||
Some(CorsSettings::Anonymous) => CredentialsMode::CredentialsSameOrigin,
|
||||
_ => CredentialsMode::Include,
|
||||
},
|
||||
origin: document.url(),
|
||||
origin: document.origin().immutable().clone(),
|
||||
pipeline_id: Some(self.elem.global().pipeline_id()),
|
||||
referrer_url: Some(document.url()),
|
||||
referrer_policy: referrer_policy,
|
||||
|
||||
Reference in New Issue
Block a user