diff options
-rw-r--r-- | components/script/dom/webidls/XMLDocument.webidl | 1 | ||||
-rw-r--r-- | components/script/dom/xmldocument.rs | 16 | ||||
-rw-r--r-- | tests/wpt/metadata/dom/interfaces.html.ini | 3 |
3 files changed, 0 insertions, 20 deletions
diff --git a/components/script/dom/webidls/XMLDocument.webidl b/components/script/dom/webidls/XMLDocument.webidl index cec935f6906..de40dd87b9d 100644 --- a/components/script/dom/webidls/XMLDocument.webidl +++ b/components/script/dom/webidls/XMLDocument.webidl @@ -9,5 +9,4 @@ */ // https://dom.spec.whatwg.org/#interface-document -[Constructor] interface XMLDocument : Document {}; diff --git a/components/script/dom/xmldocument.rs b/components/script/dom/xmldocument.rs index fc04c418867..e8cf284c7d1 100644 --- a/components/script/dom/xmldocument.rs +++ b/components/script/dom/xmldocument.rs @@ -73,22 +73,6 @@ impl XMLDocument { } doc } - - pub fn Constructor(global: GlobalRef) -> Fallible<Root<XMLDocument>> { - let win = global.as_window(); - let doc = win.Document(); - let doc = doc.r(); - let docloader = DocumentLoader::new(&*doc.loader()); - - Ok(XMLDocument::new(win, - None, - None, - IsHTMLDocument::NonHTMLDocument, - None, - None, - DocumentSource::NotFromParser, - docloader)) - } } impl XMLDocumentMethods for XMLDocument { diff --git a/tests/wpt/metadata/dom/interfaces.html.ini b/tests/wpt/metadata/dom/interfaces.html.ini index c9c0283d992..dd4de75896a 100644 --- a/tests/wpt/metadata/dom/interfaces.html.ini +++ b/tests/wpt/metadata/dom/interfaces.html.ini @@ -69,9 +69,6 @@ [Document interface: operation queryAll(DOMString)] expected: FAIL - [XMLDocument interface: existence and properties of interface object] - expected: FAIL - [Document interface: xmlDoc must inherit property "origin" with the proper type (3)] expected: FAIL |