mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Allow windows to share browsing contexts.
This commit is contained in:
parent
fc67878edf
commit
403499a9d5
11 changed files with 168 additions and 108 deletions
|
@ -13,7 +13,7 @@ use dom::bindings::js::{JS, Root};
|
|||
use dom::bindings::reflector::{Reflector, reflect_dom_object};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::bindings::xmlname::{namespace_from_domstring, validate_qualified_name};
|
||||
use dom::document::{Document, IsHTMLDocument};
|
||||
use dom::document::{Document, HasBrowsingContext, IsHTMLDocument};
|
||||
use dom::document::DocumentSource;
|
||||
use dom::documenttype::DocumentType;
|
||||
use dom::htmlbodyelement::HTMLBodyElement;
|
||||
|
@ -78,7 +78,7 @@ impl DOMImplementationMethods for DOMImplementation {
|
|||
|
||||
// Step 1.
|
||||
let doc = XMLDocument::new(win,
|
||||
None,
|
||||
HasBrowsingContext::No,
|
||||
None,
|
||||
self.document.origin().alias(),
|
||||
IsHTMLDocument::NonHTMLDocument,
|
||||
|
@ -125,7 +125,7 @@ impl DOMImplementationMethods for DOMImplementation {
|
|||
|
||||
// Step 1-2.
|
||||
let doc = Document::new(win,
|
||||
None,
|
||||
HasBrowsingContext::No,
|
||||
None,
|
||||
self.document.origin().alias(),
|
||||
IsHTMLDocument::HTMLDocument,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue