Implement CDATASection interface and createCDATASection method

This commit is contained in:
George Roman 2019-02-13 22:21:52 +02:00
parent 431423388e
commit 4b8282b3b1
18 changed files with 106 additions and 112 deletions

View file

@ -99,21 +99,6 @@
[DOMTokenList interface: calling supports(DOMString) on document.body.classList with too few arguments must throw TypeError]
expected: FAIL
[Document interface: operation createCDATASection(DOMString)]
expected: FAIL
[Document interface: new Document() must inherit property "createCDATASection" with the proper type (18)]
expected: FAIL
[Document interface: calling createCDATASection(DOMString) on new Document() with too few arguments must throw TypeError]
expected: FAIL
[Document interface: xmlDoc must inherit property "createCDATASection" with the proper type (18)]
expected: FAIL
[Document interface: calling createCDATASection(DOMString) on xmlDoc with too few arguments must throw TypeError]
expected: FAIL
[Attr interface: existence and properties of interface object]
expected: FAIL
@ -297,21 +282,6 @@
[EventTarget interface: calling dispatchEvent(Event) on document.querySelector("[id\]").attributes[0\] with too few arguments must throw TypeError]
expected: FAIL
[CDATASection interface: existence and properties of interface object]
expected: FAIL
[CDATASection interface object length]
expected: FAIL
[CDATASection interface object name]
expected: FAIL
[CDATASection interface: existence and properties of interface prototype object]
expected: FAIL
[CDATASection interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Node interface: document.querySelector("[id\]").attributes[0\] must inherit property "getRootNode" with the proper type (17)]
expected: FAIL
@ -504,18 +474,12 @@
[Document interface: new Document() must inherit property "origin" with the proper type]
expected: FAIL
[Document interface: new Document() must inherit property "createCDATASection(DOMString)" with the proper type]
expected: FAIL
[Node interface: new Document() must inherit property "isConnected" with the proper type]
expected: FAIL
[Document interface: xmlDoc must inherit property "origin" with the proper type]
expected: FAIL
[Document interface: xmlDoc must inherit property "createCDATASection(DOMString)" with the proper type]
expected: FAIL
[Node interface: xmlDoc must inherit property "isConnected" with the proper type]
expected: FAIL
@ -795,9 +759,6 @@
[Unscopable handled correctly for remove() on CharacterData]
expected: FAIL
[CDATASection interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[AbstractRange interface: existence and properties of interface object]
expected: FAIL
@ -1001,9 +962,6 @@
[Document interface: attribute origin]
expected: FAIL
[Document interface: operation createCDATASection(DOMString)]
expected: FAIL
[Unscopable handled correctly for prepend([object Object\],[object Object\]) on Document]
expected: FAIL
@ -1013,21 +971,9 @@
[Document interface: new Document() must inherit property "origin" with the proper type]
expected: FAIL
[Document interface: new Document() must inherit property "createCDATASection(DOMString)" with the proper type]
expected: FAIL
[Document interface: calling createCDATASection(DOMString) on new Document() with too few arguments must throw TypeError]
expected: FAIL
[Document interface: xmlDoc must inherit property "origin" with the proper type]
expected: FAIL
[Document interface: xmlDoc must inherit property "createCDATASection(DOMString)" with the proper type]
expected: FAIL
[Document interface: calling createCDATASection(DOMString) on xmlDoc with too few arguments must throw TypeError]
expected: FAIL
[DocumentType interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
@ -1172,24 +1118,6 @@
[Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type]
expected: FAIL
[CDATASection interface: existence and properties of interface object]
expected: FAIL
[CDATASection interface object length]
expected: FAIL
[CDATASection interface object name]
expected: FAIL
[CDATASection interface: existence and properties of interface prototype object]
expected: FAIL
[CDATASection interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[CDATASection interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[AbstractRange interface: existence and properties of interface object]
expected: FAIL

View file

@ -1,4 +0,0 @@
[Node-insertBefore.html]
[Should check the 'parent' type before checking whether 'child' is a child of 'parent']
expected: FAIL

View file

@ -1,7 +0,0 @@
[Node-replaceChild.html]
[If the context node is not a node that can contain children, a HierarchyRequestError exception should be thrown]
expected: FAIL
[Should check the 'parent' type before checking whether 'child' is a child of 'parent']
expected: FAIL

View file

@ -1,5 +0,0 @@
[value-defaultValue-textContent-xhtml.xhtml]
type: testharness
[defaultValue and value include CDATASection Text nodes]
expected: FAIL

View file

@ -13281,7 +13281,7 @@
],
"mozilla/interfaces.html": [
[
"/_mozilla/mozilla/interfaces.html",
"mozilla/interfaces.html",
{}
]
],
@ -20239,7 +20239,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"ab4ead5cfb5afc8b65cb71841e32ee46ec75318b",
"f8d8ab879f84bf03f89b12d5d010c83c1025265a",
"testharness"
],
"mozilla/interfaces.js": [

View file

@ -31,6 +31,7 @@ test_interfaces([
"CanvasGradient",
"CanvasRenderingContext2D",
"CanvasPattern",
"CDATASection",
"ChannelMergerNode",
"ChannelSplitterNode",
"CharacterData",