mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #14647 - servo:current-global, r=jdm
Support the 'current' global object. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14647) <!-- Reviewable:end -->
This commit is contained in:
commit
885d152e92
10 changed files with 51 additions and 23 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