mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -79,6 +79,7 @@ impl DOMImplementationMethods for DOMImplementation {
|
|||
let doc = XMLDocument::new(win,
|
||||
None,
|
||||
None,
|
||||
self.document.origin().alias(),
|
||||
IsHTMLDocument::NonHTMLDocument,
|
||||
Some(DOMString::from(content_type)),
|
||||
None,
|
||||
|
@ -124,6 +125,7 @@ impl DOMImplementationMethods for DOMImplementation {
|
|||
let doc = Document::new(win,
|
||||
None,
|
||||
None,
|
||||
self.document.origin().alias(),
|
||||
IsHTMLDocument::HTMLDocument,
|
||||
None,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue