mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
parent
01e336f691
commit
ec5d08c887
9 changed files with 34 additions and 17 deletions
|
@ -61,6 +61,7 @@ impl DOMParserMethods for DOMParser {
|
|||
let document = Document::new(&self.window,
|
||||
None,
|
||||
Some(url.clone()),
|
||||
doc.origin().alias(),
|
||||
IsHTMLDocument::HTMLDocument,
|
||||
Some(content_type),
|
||||
None,
|
||||
|
@ -77,6 +78,7 @@ impl DOMParserMethods for DOMParser {
|
|||
let document = Document::new(&self.window,
|
||||
None,
|
||||
Some(url.clone()),
|
||||
doc.origin().alias(),
|
||||
IsHTMLDocument::NonHTMLDocument,
|
||||
Some(content_type),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue