Add XMLDocument object

This commit is contained in:
Guillaume Gomez 2015-11-25 08:46:51 +01:00
parent 831979d6a7
commit adf8b359bb
18 changed files with 169 additions and 73 deletions

View file

@ -90,21 +90,6 @@
[XMLDocument interface: existence and properties of interface object]
expected: FAIL
[XMLDocument interface object length]
expected: FAIL
[XMLDocument interface: existence and properties of interface prototype object]
expected: FAIL
[XMLDocument interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XMLDocument must be primary interface of xmlDoc]
expected: FAIL
[Stringification of xmlDoc]
expected: FAIL
[Document interface: xmlDoc must inherit property "origin" with the proper type (3)]
expected: FAIL

View file

@ -1,8 +1,5 @@
[Document-constructor.html]
type: testharness
[new Document(): interfaces]
expected: FAIL
[new Document(): URL parsing]
expected: FAIL

View file

@ -0,0 +1,8 @@
[XMLDocument-constructor.html]
type: testharness
[new XMLDocument(): URL parsing]
expected: FAIL
[new XMLDocument(): characterSet aliases]
expected: FAIL

View file

@ -4,15 +4,9 @@
[Should parse correctly in type text/xml]
expected: FAIL
[XMLDocument interface for correctly parsed document with type text/xml]
expected: FAIL
[Should return an error document for XML wellformedness errors in type text/xml]
expected: FAIL
[XMLDocument interface for incorrectly parsed document with type text/xml]
expected: FAIL
[Should parse correctly in type application/xml]
expected: TIMEOUT

View file

@ -990,12 +990,6 @@
[XMLDocument interface: operation load(DOMString)]
expected: FAIL
[XMLDocument must be primary interface of document.implementation.createDocument(null, "", null)]
expected: FAIL
[Stringification of document.implementation.createDocument(null, "", null)]
expected: FAIL
[XMLDocument interface: document.implementation.createDocument(null, "", null) must inherit property "load" with the proper type (0)]
expected: FAIL

View file

@ -224,6 +224,7 @@ var interfaceNamesInGlobalScope = [
"WorkerGlobalScope", // #2823
"WorkerLocation", // #2823
"WorkerNavigator", // #2823
"XMLDocument",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",
"XMLHttpRequestUpload",