mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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
|
@ -550,7 +550,7 @@ impl HTMLMediaElement {
|
|||
destination: Destination::Media,
|
||||
credentials_mode: CredentialsMode::Include,
|
||||
use_url_credentials: true,
|
||||
origin: document.url(),
|
||||
origin: document.origin().immutable().clone(),
|
||||
pipeline_id: Some(self.global().pipeline_id()),
|
||||
referrer_url: Some(document.url()),
|
||||
referrer_policy: document.get_referrer_policy(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue