Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt

Issue 1934123002: Implement DOM methods: prepend, append, after, before and replaceWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync test expectations Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt
index 780387253f4704e6ebda8e6e93b542c87cbbc29c..bce9d4210ab5c31b819d6d203cbfdadb0743cd7c 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt
@@ -270,8 +270,8 @@ PASS Document interface: attribute children
PASS Document interface: attribute firstElementChild
PASS Document interface: attribute lastElementChild
PASS Document interface: attribute childElementCount
-FAIL Document interface: operation prepend([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "prepend" missing
-FAIL Document interface: operation append([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "append" missing
+PASS Document interface: operation prepend([object Object],[object Object])
+PASS Document interface: operation append([object Object],[object Object])
PASS Document interface: operation querySelector(DOMString)
PASS Document interface: operation querySelectorAll(DOMString)
FAIL Document must be primary interface of new Document() assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor"
@@ -454,10 +454,10 @@ PASS Document interface: xmlDoc must inherit property "children" with the proper
PASS Document interface: xmlDoc must inherit property "firstElementChild" with the proper type (30)
PASS Document interface: xmlDoc must inherit property "lastElementChild" with the proper type (31)
PASS Document interface: xmlDoc must inherit property "childElementCount" with the proper type (32)
-FAIL Document interface: xmlDoc must inherit property "prepend" with the proper type (33) assert_inherits: property "prepend" not found in prototype chain
-FAIL Document interface: calling prepend([object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError assert_inherits: property "prepend" not found in prototype chain
-FAIL Document interface: xmlDoc must inherit property "append" with the proper type (34) assert_inherits: property "append" not found in prototype chain
-FAIL Document interface: calling append([object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError assert_inherits: property "append" not found in prototype chain
+PASS Document interface: xmlDoc must inherit property "prepend" with the proper type (33)
+PASS Document interface: calling prepend([object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError
+PASS Document interface: xmlDoc must inherit property "append" with the proper type (34)
+PASS Document interface: calling append([object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError
PASS Document interface: xmlDoc must inherit property "querySelector" with the proper type (35)
PASS Document interface: calling querySelector(DOMString) on xmlDoc with too few arguments must throw TypeError
PASS Document interface: xmlDoc must inherit property "querySelectorAll" with the proper type (36)
@@ -553,21 +553,21 @@ PASS DocumentType interface: existence and properties of interface prototype obj
PASS DocumentType interface: attribute name
PASS DocumentType interface: attribute publicId
PASS DocumentType interface: attribute systemId
-FAIL DocumentType interface: operation before([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "before" missing
-FAIL DocumentType interface: operation after([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "after" missing
-FAIL DocumentType interface: operation replaceWith([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "replaceWith" missing
+PASS DocumentType interface: operation before([object Object],[object Object])
+PASS DocumentType interface: operation after([object Object],[object Object])
+PASS DocumentType interface: operation replaceWith([object Object],[object Object])
PASS DocumentType interface: operation remove()
PASS DocumentType must be primary interface of document.doctype
PASS Stringification of document.doctype
PASS DocumentType interface: document.doctype must inherit property "name" with the proper type (0)
PASS DocumentType interface: document.doctype must inherit property "publicId" with the proper type (1)
PASS DocumentType interface: document.doctype must inherit property "systemId" with the proper type (2)
-FAIL DocumentType interface: document.doctype must inherit property "before" with the proper type (3) assert_inherits: property "before" not found in prototype chain
-FAIL DocumentType interface: calling before([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError assert_inherits: property "before" not found in prototype chain
-FAIL DocumentType interface: document.doctype must inherit property "after" with the proper type (4) assert_inherits: property "after" not found in prototype chain
-FAIL DocumentType interface: calling after([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError assert_inherits: property "after" not found in prototype chain
-FAIL DocumentType interface: document.doctype must inherit property "replaceWith" with the proper type (5) assert_inherits: property "replaceWith" not found in prototype chain
-FAIL DocumentType interface: calling replaceWith([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError assert_inherits: property "replaceWith" not found in prototype chain
+PASS DocumentType interface: document.doctype must inherit property "before" with the proper type (3)
+PASS DocumentType interface: calling before([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
+PASS DocumentType interface: document.doctype must inherit property "after" with the proper type (4)
+PASS DocumentType interface: calling after([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
+PASS DocumentType interface: document.doctype must inherit property "replaceWith" with the proper type (5)
+PASS DocumentType interface: calling replaceWith([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
PASS DocumentType interface: document.doctype must inherit property "remove" with the proper type (6)
PASS Node interface: document.doctype must inherit property "ELEMENT_NODE" with the proper type (0)
PASS Node interface: document.doctype must inherit property "ATTRIBUTE_NODE" with the proper type (1)
@@ -644,8 +644,8 @@ PASS DocumentFragment interface: attribute children
PASS DocumentFragment interface: attribute firstElementChild
PASS DocumentFragment interface: attribute lastElementChild
PASS DocumentFragment interface: attribute childElementCount
-FAIL DocumentFragment interface: operation prepend([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "prepend" missing
-FAIL DocumentFragment interface: operation append([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "append" missing
+PASS DocumentFragment interface: operation prepend([object Object],[object Object])
+PASS DocumentFragment interface: operation append([object Object],[object Object])
PASS DocumentFragment interface: operation querySelector(DOMString)
PASS DocumentFragment interface: operation querySelectorAll(DOMString)
PASS DocumentFragment must be primary interface of document.createDocumentFragment()
@@ -656,10 +656,10 @@ PASS DocumentFragment interface: document.createDocumentFragment() must inherit
PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "firstElementChild" with the proper type (2)
PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "lastElementChild" with the proper type (3)
PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "childElementCount" with the proper type (4)
-FAIL DocumentFragment interface: document.createDocumentFragment() must inherit property "prepend" with the proper type (5) assert_inherits: property "prepend" not found in prototype chain
-FAIL DocumentFragment interface: calling prepend([object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError assert_inherits: property "prepend" not found in prototype chain
-FAIL DocumentFragment interface: document.createDocumentFragment() must inherit property "append" with the proper type (6) assert_inherits: property "append" not found in prototype chain
-FAIL DocumentFragment interface: calling append([object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError assert_inherits: property "append" not found in prototype chain
+PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "prepend" with the proper type (5)
+PASS DocumentFragment interface: calling prepend([object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError
+PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "append" with the proper type (6)
+PASS DocumentFragment interface: calling append([object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError
PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "querySelector" with the proper type (7)
PASS DocumentFragment interface: calling querySelector(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError
PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "querySelectorAll" with the proper type (8)
@@ -779,15 +779,15 @@ PASS Element interface: attribute children
PASS Element interface: attribute firstElementChild
PASS Element interface: attribute lastElementChild
PASS Element interface: attribute childElementCount
-FAIL Element interface: operation prepend([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "prepend" missing
-FAIL Element interface: operation append([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "append" missing
+PASS Element interface: operation prepend([object Object],[object Object])
+PASS Element interface: operation append([object Object],[object Object])
PASS Element interface: operation querySelector(DOMString)
PASS Element interface: operation querySelectorAll(DOMString)
PASS Element interface: attribute previousElementSibling
PASS Element interface: attribute nextElementSibling
-FAIL Element interface: operation before([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "before" missing
-FAIL Element interface: operation after([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "after" missing
-FAIL Element interface: operation replaceWith([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "replaceWith" missing
+PASS Element interface: operation before([object Object],[object Object])
+PASS Element interface: operation after([object Object],[object Object])
+PASS Element interface: operation replaceWith([object Object],[object Object])
PASS Element interface: operation remove()
PASS Element interface: attribute assignedSlot
PASS Element must be primary interface of element
@@ -852,22 +852,22 @@ PASS Element interface: element must inherit property "children" with the proper
PASS Element interface: element must inherit property "firstElementChild" with the proper type (35)
PASS Element interface: element must inherit property "lastElementChild" with the proper type (36)
PASS Element interface: element must inherit property "childElementCount" with the proper type (37)
-FAIL Element interface: element must inherit property "prepend" with the proper type (38) assert_inherits: property "prepend" not found in prototype chain
-FAIL Element interface: calling prepend([object Object],[object Object]) on element with too few arguments must throw TypeError assert_inherits: property "prepend" not found in prototype chain
-FAIL Element interface: element must inherit property "append" with the proper type (39) assert_inherits: property "append" not found in prototype chain
-FAIL Element interface: calling append([object Object],[object Object]) on element with too few arguments must throw TypeError assert_inherits: property "append" not found in prototype chain
+PASS Element interface: element must inherit property "prepend" with the proper type (38)
+PASS Element interface: calling prepend([object Object],[object Object]) on element with too few arguments must throw TypeError
+PASS Element interface: element must inherit property "append" with the proper type (39)
+PASS Element interface: calling append([object Object],[object Object]) on element with too few arguments must throw TypeError
PASS Element interface: element must inherit property "querySelector" with the proper type (40)
PASS Element interface: calling querySelector(DOMString) on element with too few arguments must throw TypeError
PASS Element interface: element must inherit property "querySelectorAll" with the proper type (41)
PASS Element interface: calling querySelectorAll(DOMString) on element with too few arguments must throw TypeError
PASS Element interface: element must inherit property "previousElementSibling" with the proper type (42)
PASS Element interface: element must inherit property "nextElementSibling" with the proper type (43)
-FAIL Element interface: element must inherit property "before" with the proper type (44) assert_inherits: property "before" not found in prototype chain
-FAIL Element interface: calling before([object Object],[object Object]) on element with too few arguments must throw TypeError assert_inherits: property "before" not found in prototype chain
-FAIL Element interface: element must inherit property "after" with the proper type (45) assert_inherits: property "after" not found in prototype chain
-FAIL Element interface: calling after([object Object],[object Object]) on element with too few arguments must throw TypeError assert_inherits: property "after" not found in prototype chain
-FAIL Element interface: element must inherit property "replaceWith" with the proper type (46) assert_inherits: property "replaceWith" not found in prototype chain
-FAIL Element interface: calling replaceWith([object Object],[object Object]) on element with too few arguments must throw TypeError assert_inherits: property "replaceWith" not found in prototype chain
+PASS Element interface: element must inherit property "before" with the proper type (44)
+PASS Element interface: calling before([object Object],[object Object]) on element with too few arguments must throw TypeError
+PASS Element interface: element must inherit property "after" with the proper type (45)
+PASS Element interface: calling after([object Object],[object Object]) on element with too few arguments must throw TypeError
+PASS Element interface: element must inherit property "replaceWith" with the proper type (46)
+PASS Element interface: calling replaceWith([object Object],[object Object]) on element with too few arguments must throw TypeError
PASS Element interface: element must inherit property "remove" with the proper type (47)
PASS Element interface: element must inherit property "assignedSlot" with the proper type (48)
PASS Node interface: element must inherit property "ELEMENT_NODE" with the proper type (0)
@@ -989,9 +989,9 @@ PASS CharacterData interface: operation deleteData(unsigned long,unsigned long)
PASS CharacterData interface: operation replaceData(unsigned long,unsigned long,DOMString)
PASS CharacterData interface: attribute previousElementSibling
PASS CharacterData interface: attribute nextElementSibling
-FAIL CharacterData interface: operation before([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "before" missing
-FAIL CharacterData interface: operation after([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "after" missing
-FAIL CharacterData interface: operation replaceWith([object Object],[object Object]) assert_own_property: interface prototype object missing non-static operation expected property "replaceWith" missing
+PASS CharacterData interface: operation before([object Object],[object Object])
+PASS CharacterData interface: operation after([object Object],[object Object])
+PASS CharacterData interface: operation replaceWith([object Object],[object Object])
PASS CharacterData interface: operation remove()
PASS Text interface: existence and properties of interface object
PASS Text interface object length
@@ -1021,12 +1021,12 @@ PASS CharacterData interface: document.createTextNode("abc") must inherit proper
PASS CharacterData interface: calling replaceData(unsigned long,unsigned long,DOMString) on document.createTextNode("abc") with too few arguments must throw TypeError
PASS CharacterData interface: document.createTextNode("abc") must inherit property "previousElementSibling" with the proper type (7)
PASS CharacterData interface: document.createTextNode("abc") must inherit property "nextElementSibling" with the proper type (8)
-FAIL CharacterData interface: document.createTextNode("abc") must inherit property "before" with the proper type (9) assert_inherits: property "before" not found in prototype chain
-FAIL CharacterData interface: calling before([object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError assert_inherits: property "before" not found in prototype chain
-FAIL CharacterData interface: document.createTextNode("abc") must inherit property "after" with the proper type (10) assert_inherits: property "after" not found in prototype chain
-FAIL CharacterData interface: calling after([object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError assert_inherits: property "after" not found in prototype chain
-FAIL CharacterData interface: document.createTextNode("abc") must inherit property "replaceWith" with the proper type (11) assert_inherits: property "replaceWith" not found in prototype chain
-FAIL CharacterData interface: calling replaceWith([object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError assert_inherits: property "replaceWith" not found in prototype chain
+PASS CharacterData interface: document.createTextNode("abc") must inherit property "before" with the proper type (9)
+PASS CharacterData interface: calling before([object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError
+PASS CharacterData interface: document.createTextNode("abc") must inherit property "after" with the proper type (10)
+PASS CharacterData interface: calling after([object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError
+PASS CharacterData interface: document.createTextNode("abc") must inherit property "replaceWith" with the proper type (11)
+PASS CharacterData interface: calling replaceWith([object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError
PASS CharacterData interface: document.createTextNode("abc") must inherit property "remove" with the proper type (12)
PASS Node interface: document.createTextNode("abc") must inherit property "ELEMENT_NODE" with the proper type (0)
PASS Node interface: document.createTextNode("abc") must inherit property "ATTRIBUTE_NODE" with the proper type (1)
@@ -1116,12 +1116,12 @@ PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") m
PASS CharacterData interface: calling replaceData(unsigned long,unsigned long,DOMString) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "previousElementSibling" with the proper type (7)
PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nextElementSibling" with the proper type (8)
-FAIL CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "before" with the proper type (9) assert_inherits: property "before" not found in prototype chain
-FAIL CharacterData interface: calling before([object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_inherits: property "before" not found in prototype chain
-FAIL CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "after" with the proper type (10) assert_inherits: property "after" not found in prototype chain
-FAIL CharacterData interface: calling after([object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_inherits: property "after" not found in prototype chain
-FAIL CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "replaceWith" with the proper type (11) assert_inherits: property "replaceWith" not found in prototype chain
-FAIL CharacterData interface: calling replaceWith([object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_inherits: property "replaceWith" not found in prototype chain
+PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "before" with the proper type (9)
+PASS CharacterData interface: calling before([object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
+PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "after" with the proper type (10)
+PASS CharacterData interface: calling after([object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
+PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "replaceWith" with the proper type (11)
+PASS CharacterData interface: calling replaceWith([object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
PASS CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "remove" with the proper type (12)
PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "ELEMENT_NODE" with the proper type (0)
PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "ATTRIBUTE_NODE" with the proper type (1)
@@ -1209,12 +1209,12 @@ PASS CharacterData interface: document.createComment("abc") must inherit propert
PASS CharacterData interface: calling replaceData(unsigned long,unsigned long,DOMString) on document.createComment("abc") with too few arguments must throw TypeError
PASS CharacterData interface: document.createComment("abc") must inherit property "previousElementSibling" with the proper type (7)
PASS CharacterData interface: document.createComment("abc") must inherit property "nextElementSibling" with the proper type (8)
-FAIL CharacterData interface: document.createComment("abc") must inherit property "before" with the proper type (9) assert_inherits: property "before" not found in prototype chain
-FAIL CharacterData interface: calling before([object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError assert_inherits: property "before" not found in prototype chain
-FAIL CharacterData interface: document.createComment("abc") must inherit property "after" with the proper type (10) assert_inherits: property "after" not found in prototype chain
-FAIL CharacterData interface: calling after([object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError assert_inherits: property "after" not found in prototype chain
-FAIL CharacterData interface: document.createComment("abc") must inherit property "replaceWith" with the proper type (11) assert_inherits: property "replaceWith" not found in prototype chain
-FAIL CharacterData interface: calling replaceWith([object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError assert_inherits: property "replaceWith" not found in prototype chain
+PASS CharacterData interface: document.createComment("abc") must inherit property "before" with the proper type (9)
+PASS CharacterData interface: calling before([object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError
+PASS CharacterData interface: document.createComment("abc") must inherit property "after" with the proper type (10)
+PASS CharacterData interface: calling after([object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError
+PASS CharacterData interface: document.createComment("abc") must inherit property "replaceWith" with the proper type (11)
+PASS CharacterData interface: calling replaceWith([object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError
PASS CharacterData interface: document.createComment("abc") must inherit property "remove" with the proper type (12)
PASS Node interface: document.createComment("abc") must inherit property "ELEMENT_NODE" with the proper type (0)
PASS Node interface: document.createComment("abc") must inherit property "ATTRIBUTE_NODE" with the proper type (1)

Powered by Google App Engine
This is Rietveld 408576698