diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-10-23 09:18:37 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-10-23 09:18:37 -0600 |
commit | 2df236376a443d8d031ee7a72379f336f2cd8cc4 (patch) | |
tree | 8f4278428198189993dd703945ada5189ddaf764 /components/script/dom/node.rs | |
parent | 470d27a6681b4647de64c085654403820d48f7af (diff) | |
parent | 539c21f38022b6d0be6ad01be94bc2e1217d5ccb (diff) | |
download | servo-2df236376a443d8d031ee7a72379f336f2cd8cc4.tar.gz servo-2df236376a443d8d031ee7a72379f336f2cd8cc4.zip |
auto merge of #3759 : jdm/servo/readystate, r=Ms2ger
...itor after the initial parse. Fixes #1720. Fixes #3738.
r? @Ms2ger or @Manishearth
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index e47e67419ba..e3e7ef15bad 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -30,7 +30,7 @@ use dom::bindings::utils; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::characterdata::CharacterData; use dom::comment::Comment; -use dom::document::{Document, DocumentHelpers, HTMLDocument, NonHTMLDocument}; +use dom::document::{Document, DocumentHelpers, HTMLDocument, NonHTMLDocument, NotFromParser}; use dom::documentfragment::DocumentFragment; use dom::documenttype::DocumentType; use dom::element::{AttributeHandlers, Element, ElementTypeId}; @@ -1511,7 +1511,7 @@ impl Node { }; let window = document.window().root(); let document = Document::new(*window, Some(document.url().clone()), - is_html_doc, None); + is_html_doc, None, NotFromParser); NodeCast::from_temporary(document) }, ElementNodeTypeId(..) => { |