mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -20,7 +20,7 @@ use dom::bindings::refcounted::Trusted;
|
|||
use dom::bindings::reflector::{DomObject, reflect_dom_object};
|
||||
use dom::bindings::str::{ByteString, DOMString, USVString, is_token};
|
||||
use dom::blob::{Blob, BlobImpl};
|
||||
use dom::document::{Document, IsHTMLDocument};
|
||||
use dom::document::{Document, HasBrowsingContext, IsHTMLDocument};
|
||||
use dom::document::DocumentSource;
|
||||
use dom::event::{Event, EventBubbles, EventCancelable};
|
||||
use dom::eventtarget::EventTarget;
|
||||
|
@ -1223,7 +1223,7 @@ impl XMLHttpRequest {
|
|||
DOMString::from(format!("{}", mime))
|
||||
});
|
||||
Document::new(win,
|
||||
None,
|
||||
HasBrowsingContext::No,
|
||||
parsed_url,
|
||||
doc.origin().alias(),
|
||||
is_html_document,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue