diff options
Diffstat (limited to 'components/script/dom/domparser.rs')
-rw-r--r-- | components/script/dom/domparser.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/domparser.rs b/components/script/dom/domparser.rs index 21b0fcf0730..1a3fb7f3793 100644 --- a/components/script/dom/domparser.rs +++ b/components/script/dom/domparser.rs @@ -59,6 +59,7 @@ impl DOMParserMethods for DOMParser { match ty { Text_html => { let document = Document::new(&self.window, + None, Some(url.clone()), IsHTMLDocument::HTMLDocument, Some(content_type), @@ -72,6 +73,7 @@ impl DOMParserMethods for DOMParser { Text_xml => { // FIXME: this should probably be FromParser when we actually parse the string (#3756). let document = Document::new(&self.window, + None, Some(url.clone()), IsHTMLDocument::NonHTMLDocument, Some(content_type), |