Implement XMLSerializer interface

This commit is contained in:
George Roman 2019-03-14 19:08:17 +02:00
parent e58226814f
commit c6433efc1d
8 changed files with 76 additions and 67 deletions

View file

@ -1,11 +1,5 @@
[XMLSerializer-serializeToString.html]
type: testharness
[check XMLSerializer.serializeToString method could parsing xmldoc to string]
expected: FAIL
[check XMLSerializer.serializeToString method could parsing xmldoc to string]
expected: FAIL
[Check if the default namespace is correctly reset.]
expected: FAIL

View file

@ -5,39 +5,6 @@
[interfaces]
expected: FAIL
[XMLSerializer interface: existence and properties of interface object]
expected: FAIL
[XMLSerializer interface object length]
expected: FAIL
[XMLSerializer interface object name]
expected: FAIL
[XMLSerializer interface: existence and properties of interface prototype object]
expected: FAIL
[XMLSerializer interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XMLSerializer interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XMLSerializer interface: operation serializeToString(Node)]
expected: FAIL
[Stringification of new XMLSerializer()]
expected: FAIL
[XMLSerializer interface: calling serializeToString(Node) on new XMLSerializer() with too few arguments must throw TypeError]
expected: FAIL
[XMLSerializer must be primary interface of new XMLSerializer()]
expected: FAIL
[XMLSerializer interface: new XMLSerializer() must inherit property "serializeToString(Node)" with the proper type]
expected: FAIL
[ShadowRoot interface: attribute innerHTML]
expected: FAIL

View file

@ -1,20 +1,5 @@
[xml-serialization.xhtml]
type: testharness
[Comment: containing --]
expected: FAIL
[Comment: starting with -]
expected: FAIL
[Comment: ending with -]
expected: FAIL
[Comment: containing -->]
expected: FAIL
[DocumentType: empty public and system id]
expected: FAIL
[DocumentType: empty system id]
expected: FAIL
@ -33,18 +18,6 @@
[DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022)]
expected: FAIL
[ProcessingInstruction: empty data]
expected: FAIL
[ProcessingInstruction: non-empty data]
expected: FAIL
[ProcessingInstruction: target contains xml]
expected: FAIL
[ProcessingInstruction: target contains a 'COLON' (U+003A)]
expected: FAIL
[Element: href attributes are not percent-encoded]
expected: FAIL

View file

@ -20254,7 +20254,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"f8d8ab879f84bf03f89b12d5d010c83c1025265a",
"a2b9fd23948319fabc0b5fff550b9565704b6678",
"testharness"
],
"mozilla/interfaces.js": [

View file

@ -246,6 +246,7 @@ test_interfaces([
"XMLHttpRequest",
"XMLHttpRequestEventTarget",
"XMLHttpRequestUpload",
"XMLSerializer",
"console",
]);
</script>