mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add ImmutableOrigin to allow for serializing origins
This commit is contained in:
parent
4f7e422054
commit
bfd7b950ad
21 changed files with 270 additions and 152 deletions
|
@ -80,7 +80,7 @@ impl DOMImplementationMethods for DOMImplementation {
|
|||
let doc = XMLDocument::new(win,
|
||||
HasBrowsingContext::No,
|
||||
None,
|
||||
self.document.origin().alias(),
|
||||
self.document.origin().clone(),
|
||||
IsHTMLDocument::NonHTMLDocument,
|
||||
Some(DOMString::from(content_type)),
|
||||
None,
|
||||
|
@ -127,7 +127,7 @@ impl DOMImplementationMethods for DOMImplementation {
|
|||
let doc = Document::new(win,
|
||||
HasBrowsingContext::No,
|
||||
None,
|
||||
self.document.origin().alias(),
|
||||
self.document.origin().clone(),
|
||||
IsHTMLDocument::HTMLDocument,
|
||||
None,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue