mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Change RequestInit origin type to ImmutableOrigin
This commit is contained in:
parent
104e0b4730
commit
6032940fb8
32 changed files with 173 additions and 529 deletions
|
@ -211,7 +211,7 @@ impl WorkerGlobalScopeMethods for WorkerGlobalScope {
|
|||
destination: Destination::Script,
|
||||
credentials_mode: CredentialsMode::Include,
|
||||
use_url_credentials: true,
|
||||
origin: self.worker_url.clone(),
|
||||
origin: global_scope.origin().immutable().clone(),
|
||||
pipeline_id: Some(self.upcast::<GlobalScope>().pipeline_id()),
|
||||
referrer_url: None,
|
||||
referrer_policy: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue