diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 743b76965e3..3e618095b54 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -1045,6 +1045,10 @@ "path": "quirks-mode/active-and-hover-manual.html", "url": "/quirks-mode/active-and-hover-manual.html" }, + { + "path": "screen-orientation/page-visibility-manual.html", + "url": "/screen-orientation/page-visibility-manual.html" + }, { "path": "svg/import/animate-dom-01-f-manual.svg", "url": "/svg/import/animate-dom-01-f-manual.svg" @@ -8227,10 +8231,18 @@ "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html", "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html" }, + { + "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html", + "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html" + }, { "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html", "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html" }, + { + "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html", + "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html" + }, { "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html", "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html" @@ -12111,6 +12123,10 @@ "path": "XMLHttpRequest/setrequestheader-allow-empty-value.htm", "url": "/XMLHttpRequest/setrequestheader-allow-empty-value.htm" }, + { + "path": "XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm", + "url": "/XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm" + }, { "path": "XMLHttpRequest/setrequestheader-before-open.htm", "url": "/XMLHttpRequest/setrequestheader-before-open.htm" @@ -12127,6 +12143,10 @@ "path": "XMLHttpRequest/setrequestheader-case-insensitive.htm", "url": "/XMLHttpRequest/setrequestheader-case-insensitive.htm" }, + { + "path": "XMLHttpRequest/setrequestheader-content-type.htm", + "url": "/XMLHttpRequest/setrequestheader-content-type.htm" + }, { "path": "XMLHttpRequest/setrequestheader-header-allowed.htm", "url": "/XMLHttpRequest/setrequestheader-header-allowed.htm" @@ -12195,6 +12215,10 @@ "path": "animation-timing/idlharness.html", "url": "/animation-timing/idlharness.html" }, + { + "path": "animation-timing/same-dispatch-time.html", + "url": "/animation-timing/same-dispatch-time.html" + }, { "path": "battery-status/battery-interface-idlharness.html", "url": "/battery-status/battery-interface-idlharness.html" @@ -12539,22 +12563,6 @@ "path": "content-security-policy/blink-contrib/object-src-no-url-blocked.sub.html", "url": "/content-security-policy/blink-contrib/object-src-no-url-blocked.sub.html" }, - { - "path": "content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-code-blocked.sub.html" - }, - { - "path": "content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-movie-blocked.sub.html" - }, - { - "path": "content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-src-blocked.sub.html" - }, - { - "path": "content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html", - "url": "/content-security-policy/blink-contrib/object-src-param-url-blocked.sub.html" - }, { "path": "content-security-policy/blink-contrib/object-src-url-allowed.sub.html", "url": "/content-security-policy/blink-contrib/object-src-url-allowed.sub.html" @@ -13899,6 +13907,142 @@ "path": "domxpath/evaluator-constructor.html", "url": "/domxpath/evaluator-constructor.html" }, + { + "path": "editing/event.html", + "url": "/editing/event.html" + }, + { + "path": "editing/run/backcolor.html", + "url": "/editing/run/backcolor.html" + }, + { + "path": "editing/run/bold.html", + "url": "/editing/run/bold.html" + }, + { + "path": "editing/run/createlink.html", + "url": "/editing/run/createlink.html" + }, + { + "path": "editing/run/delete.html", + "url": "/editing/run/delete.html" + }, + { + "path": "editing/run/fontname.html", + "url": "/editing/run/fontname.html" + }, + { + "path": "editing/run/fontsize.html", + "url": "/editing/run/fontsize.html" + }, + { + "path": "editing/run/forecolor.html", + "url": "/editing/run/forecolor.html" + }, + { + "path": "editing/run/formatblock.html", + "url": "/editing/run/formatblock.html" + }, + { + "path": "editing/run/forwarddelete.html", + "url": "/editing/run/forwarddelete.html" + }, + { + "path": "editing/run/hilitecolor.html", + "url": "/editing/run/hilitecolor.html" + }, + { + "path": "editing/run/indent.html", + "url": "/editing/run/indent.html" + }, + { + "path": "editing/run/inserthorizontalrule.html", + "url": "/editing/run/inserthorizontalrule.html" + }, + { + "path": "editing/run/inserthtml.html", + "url": "/editing/run/inserthtml.html" + }, + { + "path": "editing/run/insertimage.html", + "url": "/editing/run/insertimage.html" + }, + { + "path": "editing/run/insertlinebreak.html", + "url": "/editing/run/insertlinebreak.html" + }, + { + "path": "editing/run/insertorderedlist.html", + "url": "/editing/run/insertorderedlist.html" + }, + { + "path": "editing/run/insertparagraph.html", + "url": "/editing/run/insertparagraph.html" + }, + { + "path": "editing/run/inserttext.html", + "url": "/editing/run/inserttext.html" + }, + { + "path": "editing/run/insertunorderedlist.html", + "url": "/editing/run/insertunorderedlist.html" + }, + { + "path": "editing/run/italic.html", + "url": "/editing/run/italic.html" + }, + { + "path": "editing/run/justifycenter.html", + "url": "/editing/run/justifycenter.html" + }, + { + "path": "editing/run/justifyfull.html", + "url": "/editing/run/justifyfull.html" + }, + { + "path": "editing/run/justifyleft.html", + "url": "/editing/run/justifyleft.html" + }, + { + "path": "editing/run/justifyright.html", + "url": "/editing/run/justifyright.html" + }, + { + "path": "editing/run/misc.html", + "url": "/editing/run/misc.html" + }, + { + "path": "editing/run/multitest.html", + "url": "/editing/run/multitest.html" + }, + { + "path": "editing/run/outdent.html", + "url": "/editing/run/outdent.html" + }, + { + "path": "editing/run/removeformat.html", + "url": "/editing/run/removeformat.html" + }, + { + "path": "editing/run/strikethrough.html", + "url": "/editing/run/strikethrough.html" + }, + { + "path": "editing/run/subscript.html", + "url": "/editing/run/subscript.html" + }, + { + "path": "editing/run/superscript.html", + "url": "/editing/run/superscript.html" + }, + { + "path": "editing/run/underline.html", + "url": "/editing/run/underline.html" + }, + { + "path": "editing/run/unlink.html", + "url": "/editing/run/unlink.html" + }, { "path": "encoding/api-basics.html", "url": "/encoding/api-basics.html" @@ -16651,6 +16795,10 @@ "path": "html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.outsiderange.html", "url": "/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.outsiderange.html" }, + { + "path": "html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html", + "url": "/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html" + }, { "path": "html/semantics/embedded-content/the-canvas-element/toDataURL.lowercase.ascii.html", "url": "/html/semantics/embedded-content/the-canvas-element/toDataURL.lowercase.ascii.html" @@ -24783,6 +24931,86 @@ "path": "resource-timing/test_resource_timing.html", "url": "/resource-timing/test_resource_timing.html" }, + { + "path": "screen-orientation/lock-bad-argument.html", + "url": "/screen-orientation/lock-bad-argument.html" + }, + { + "path": "screen-orientation/lock-basic.html", + "url": "/screen-orientation/lock-basic.html" + }, + { + "path": "screen-orientation/lock-sandboxed-iframe.html", + "url": "/screen-orientation/lock-sandboxed-iframe.html" + }, + { + "path": "screen-orientation/onchange-event-subframe.html", + "url": "/screen-orientation/onchange-event-subframe.html" + }, + { + "path": "screen-orientation/onchange-event.html", + "url": "/screen-orientation/onchange-event.html" + }, + { + "path": "screen-orientation/orientation-api.html", + "url": "/screen-orientation/orientation-api.html" + }, + { + "path": "screen-orientation/orientation-reading.html", + "url": "/screen-orientation/orientation-reading.html" + }, + { + "path": "selection/Document-open.html", + "url": "/selection/Document-open.html" + }, + { + "path": "selection/addRange.html", + "url": "/selection/addRange.html" + }, + { + "path": "selection/collapse.html", + "url": "/selection/collapse.html" + }, + { + "path": "selection/collapseToStartEnd.html", + "url": "/selection/collapseToStartEnd.html" + }, + { + "path": "selection/deleteFromDocument.html", + "url": "/selection/deleteFromDocument.html" + }, + { + "path": "selection/dir.manual.html", + "url": "/selection/dir.manual.html" + }, + { + "path": "selection/extend.html", + "url": "/selection/extend.html" + }, + { + "path": "selection/getRangeAt.html", + "url": "/selection/getRangeAt.html" + }, + { + "path": "selection/getSelection.html", + "url": "/selection/getSelection.html" + }, + { + "path": "selection/interfaces.html", + "url": "/selection/interfaces.html" + }, + { + "path": "selection/isCollapsed.html", + "url": "/selection/isCollapsed.html" + }, + { + "path": "selection/removeAllRanges.html", + "url": "/selection/removeAllRanges.html" + }, + { + "path": "selection/selectAllChildren.html", + "url": "/selection/selectAllChildren.html" + }, { "path": "selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.html", "url": "/selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.html" @@ -27685,6 +27913,11 @@ "timeout": "long", "url": "/dom/traversal/NodeIterator.html" }, + { + "path": "dom/traversal/TreeWalker.html", + "timeout": "long", + "url": "/dom/traversal/TreeWalker.html" + }, { "path": "encoding/api-invalid-label.html", "timeout": "long", @@ -28856,36 +29089,8 @@ ] }, "local_changes": { - "deleted": [ - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-002.html", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-006.html", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-004.html", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-003.html", - "2dcontext/transformations/canvas_transformations_reset_001.htm", - "shadow-dom/shadow-trees/hosting-multiple-shadow-trees-005.html" - ], - "items": { - "testharness": { - "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html": [ - { - "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html", - "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html" - } - ], - "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html": [ - { - "path": "2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html", - "url": "/2dcontext/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html" - } - ], - "animation-timing/same-dispatch-time.html": [ - { - "path": "animation-timing/same-dispatch-time.html", - "url": "/animation-timing/same-dispatch-time.html" - } - ] - } - }, + "deleted": [], + "items": {}, "reftest_nodes": {} }, "reftest_nodes": { @@ -34362,7 +34567,7 @@ } ] }, - "rev": "12d3e15e5ecae695e1216c358d613705fbff6b68", + "rev": "58133dd71b16037669a0aa011b2afd448b52d434", "url_base": "/", "version": 2 } \ No newline at end of file diff --git a/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.html.ini b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.html.ini new file mode 100644 index 00000000000..08e9917281c --- /dev/null +++ b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.html.ini @@ -0,0 +1,5 @@ +[XMLHttpRequest-withCredentials.html] + type: testharness + [setting withCredentials when in DONE state (synchronous)] + expected: FAIL + diff --git a/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js.ini b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js.ini new file mode 100644 index 00000000000..95d0a5d1129 --- /dev/null +++ b/tests/wpt/metadata/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js.ini @@ -0,0 +1,5 @@ +[XMLHttpRequest-withCredentials.worker] + type: testharness + [setting withCredentials when in DONE state (synchronous)] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini b/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini index 5728046b57a..13ac404dcf0 100644 --- a/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini +++ b/tests/wpt/metadata/dom/ranges/Range-deleteContents.html.ini @@ -225,135 +225,141 @@ [Resulting cursor position for range 36 [docfrag, 0, docfrag, 0\]] expected: FAIL - [Resulting DOM for range 37 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] + [Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 37 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] + [Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting DOM for range 38 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] + [Resulting DOM for range 38 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 38 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] + [Resulting cursor position for range 38 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] expected: FAIL - [Resulting DOM for range 39 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + [Resulting DOM for range 39 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] expected: FAIL - [Resulting cursor position for range 39 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + [Resulting cursor position for range 39 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] expected: FAIL - [Resulting DOM for range 40 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + [Resulting DOM for range 40 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 40 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + [Resulting cursor position for range 40 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] expected: FAIL - [Resulting DOM for range 41 [foreignDoc.head, 1, foreignDoc.head, 1\]] + [Resulting DOM for range 41 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 41 [foreignDoc.head, 1, foreignDoc.head, 1\]] + [Resulting cursor position for range 41 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] expected: FAIL - [Resulting DOM for range 42 [foreignDoc.body, 0, foreignDoc.body, 0\]] + [Resulting DOM for range 42 [foreignDoc.head, 1, foreignDoc.head, 1\]] expected: FAIL - [Resulting cursor position for range 42 [foreignDoc.body, 0, foreignDoc.body, 0\]] + [Resulting cursor position for range 42 [foreignDoc.head, 1, foreignDoc.head, 1\]] expected: FAIL - [Resulting DOM for range 43 [paras[0\], 0, paras[0\], 0\]] + [Resulting DOM for range 43 [foreignDoc.body, 0, foreignDoc.body, 0\]] expected: FAIL - [Resulting cursor position for range 43 [paras[0\], 0, paras[0\], 0\]] + [Resulting cursor position for range 43 [foreignDoc.body, 0, foreignDoc.body, 0\]] expected: FAIL - [Resulting DOM for range 44 [detachedPara1, 0, detachedPara1, 0\]] + [Resulting DOM for range 44 [paras[0\], 0, paras[0\], 0\]] expected: FAIL - [Resulting cursor position for range 44 [detachedPara1, 0, detachedPara1, 0\]] + [Resulting cursor position for range 44 [paras[0\], 0, paras[0\], 0\]] expected: FAIL - [Resulting DOM for range 45 [testDiv, 1, paras[2\].firstChild, 5\]] + [Resulting DOM for range 45 [detachedPara1, 0, detachedPara1, 0\]] expected: FAIL - [Resulting cursor position for range 45 [testDiv, 1, paras[2\].firstChild, 5\]] + [Resulting cursor position for range 45 [detachedPara1, 0, detachedPara1, 0\]] expected: FAIL - [Resulting DOM for range 46 [document.documentElement, 1, document.body, 0\]] + [Resulting DOM for range 46 [testDiv, 1, paras[2\].firstChild, 5\]] expected: FAIL - [Resulting cursor position for range 46 [document.documentElement, 1, document.body, 0\]] + [Resulting cursor position for range 46 [testDiv, 1, paras[2\].firstChild, 5\]] expected: FAIL - [Resulting DOM for range 47 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] + [Resulting DOM for range 47 [document.documentElement, 1, document.body, 0\]] expected: FAIL - [Resulting cursor position for range 47 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] + [Resulting cursor position for range 47 [document.documentElement, 1, document.body, 0\]] expected: FAIL - [Resulting DOM for range 48 [document, 1, document, 2\]] + [Resulting DOM for range 48 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] expected: FAIL - [Resulting cursor position for range 48 [document, 1, document, 2\]] + [Resulting cursor position for range 48 [foreignDoc.documentElement, 1, foreignDoc.body, 0\]] expected: FAIL - [Resulting DOM for range 49 [paras[2\].firstChild, 4, comment, 2\]] + [Resulting DOM for range 49 [document, 1, document, 2\]] expected: FAIL - [Resulting cursor position for range 49 [paras[2\].firstChild, 4, comment, 2\]] + [Resulting cursor position for range 49 [document, 1, document, 2\]] expected: FAIL - [Resulting DOM for range 50 [paras[3\], 1, comment, 8\]] + [Resulting DOM for range 50 [paras[2\].firstChild, 4, comment, 2\]] expected: FAIL - [Resulting cursor position for range 50 [paras[3\], 1, comment, 8\]] + [Resulting cursor position for range 50 [paras[2\].firstChild, 4, comment, 2\]] expected: FAIL - [Resulting DOM for range 51 [foreignDoc, 0, foreignDoc, 0\]] + [Resulting DOM for range 51 [paras[3\], 1, comment, 8\]] expected: FAIL - [Resulting cursor position for range 51 [foreignDoc, 0, foreignDoc, 0\]] + [Resulting cursor position for range 51 [paras[3\], 1, comment, 8\]] expected: FAIL - [Resulting DOM for range 52 [xmlDoc, 0, xmlDoc, 0\]] + [Resulting DOM for range 52 [foreignDoc, 0, foreignDoc, 0\]] expected: FAIL - [Resulting cursor position for range 52 [xmlDoc, 0, xmlDoc, 0\]] + [Resulting cursor position for range 52 [foreignDoc, 0, foreignDoc, 0\]] expected: FAIL - [Resulting DOM for range 53 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] + [Resulting DOM for range 53 [xmlDoc, 0, xmlDoc, 0\]] expected: FAIL - [Resulting cursor position for range 53 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] + [Resulting cursor position for range 53 [xmlDoc, 0, xmlDoc, 0\]] expected: FAIL - [Resulting DOM for range 54 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] + [Resulting DOM for range 54 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] expected: FAIL - [Resulting cursor position for range 54 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] + [Resulting cursor position for range 54 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\]] expected: FAIL - [Resulting DOM for range 55 [detachedComment, 5, detachedComment, 5\]] + [Resulting DOM for range 55 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] expected: FAIL - [Resulting cursor position for range 55 [detachedComment, 5, detachedComment, 5\]] + [Resulting cursor position for range 55 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\]] expected: FAIL - [Resulting DOM for range 56 [detachedForeignComment, 4, detachedForeignComment, 4\]] + [Resulting DOM for range 56 [detachedComment, 5, detachedComment, 5\]] expected: FAIL - [Resulting cursor position for range 56 [detachedForeignComment, 4, detachedForeignComment, 4\]] + [Resulting cursor position for range 56 [detachedComment, 5, detachedComment, 5\]] expected: FAIL - [Resulting DOM for range 57 [foreignDocfrag, 0, foreignDocfrag, 0\]] + [Resulting DOM for range 57 [detachedForeignComment, 4, detachedForeignComment, 4\]] expected: FAIL - [Resulting cursor position for range 57 [foreignDocfrag, 0, foreignDocfrag, 0\]] + [Resulting cursor position for range 57 [detachedForeignComment, 4, detachedForeignComment, 4\]] expected: FAIL - [Resulting DOM for range 58 [xmlDocfrag, 0, xmlDocfrag, 0\]] + [Resulting DOM for range 58 [foreignDocfrag, 0, foreignDocfrag, 0\]] expected: FAIL - [Resulting cursor position for range 58 [xmlDocfrag, 0, xmlDocfrag, 0\]] + [Resulting cursor position for range 58 [foreignDocfrag, 0, foreignDocfrag, 0\]] + expected: FAIL + + [Resulting DOM for range 59 [xmlDocfrag, 0, xmlDocfrag, 0\]] + expected: FAIL + + [Resulting cursor position for range 59 [xmlDocfrag, 0, xmlDocfrag, 0\]] expected: FAIL diff --git a/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini b/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini index 08ddc920196..0474c44eeec 100644 --- a/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini +++ b/tests/wpt/metadata/dom/ranges/Range-extractContents.html.ini @@ -48,21 +48,30 @@ [Resulting cursor position for range 35 [detachedXmlComment, 2, detachedXmlComment, 6\]] expected: FAIL - [Resulting cursor position for range 37 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] + [Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 38 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] + [Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 39 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + [Returned fragment for range 37 [processingInstruction, 0, processingInstruction, 4\]] expected: FAIL - [Resulting cursor position for range 40 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + [Resulting cursor position for range 38 [paras[1\].firstChild, 0, paras[1\].firstChild, 1\]] expected: FAIL - [Resulting cursor position for range 49 [paras[2\].firstChild, 4, comment, 2\]] + [Resulting cursor position for range 39 [paras[1\].firstChild, 2, paras[1\].firstChild, 8\]] expected: FAIL - [Resulting cursor position for range 50 [paras[3\], 1, comment, 8\]] + [Resulting cursor position for range 40 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1\]] + expected: FAIL + + [Resulting cursor position for range 41 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1\]] + expected: FAIL + + [Resulting cursor position for range 50 [paras[2\].firstChild, 4, comment, 2\]] + expected: FAIL + + [Resulting cursor position for range 51 [paras[3\], 1, comment, 8\]] expected: FAIL diff --git a/tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini b/tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini deleted file mode 100644 index 2fd2ba2dcc6..00000000000 --- a/tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini +++ /dev/null @@ -1,722 +0,0 @@ -[Range-insertNode.html] - type: testharness - [0,0: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\]] - expected: FAIL - - [0,0: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\]] - expected: FAIL - - [0,1: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node paras[0\].firstChild] - expected: FAIL - - [0,7: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node document] - expected: FAIL - - [0,7: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node document] - expected: FAIL - - [0,9: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoc] - expected: FAIL - - [0,9: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoc] - expected: FAIL - - [0,11: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node xmlDoc] - expected: FAIL - - [0,11: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node xmlDoc] - expected: FAIL - - [0,20: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node doctype] - expected: FAIL - - [0,20: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node doctype] - expected: FAIL - - [0,21: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoctype] - expected: FAIL - - [0,21: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 0\], node foreignDoctype] - expected: FAIL - - [1,0: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node paras[0\]] - expected: FAIL - - [1,0: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node paras[0\]] - expected: FAIL - - [1,7: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node document] - expected: FAIL - - [1,7: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node document] - expected: FAIL - - [1,9: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoc] - expected: FAIL - - [1,9: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoc] - expected: FAIL - - [1,11: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node xmlDoc] - expected: FAIL - - [1,11: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node xmlDoc] - expected: FAIL - - [1,20: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node doctype] - expected: FAIL - - [1,20: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node doctype] - expected: FAIL - - [1,21: resulting DOM for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoctype] - expected: FAIL - - [1,21: resulting range position for range [paras[0\].firstChild, 0, paras[0\].firstChild, 1\], node foreignDoctype] - expected: FAIL - - [2,0: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\]] - expected: FAIL - - [2,0: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\]] - expected: FAIL - - [2,1: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[0\].firstChild] - expected: FAIL - - [2,2: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node paras[1\].firstChild] - expected: FAIL - - [2,3: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignPara1] - expected: FAIL - - [2,4: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignPara1.firstChild] - expected: FAIL - - [2,5: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedPara1] - expected: FAIL - - [2,6: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedPara1.firstChild] - expected: FAIL - - [2,7: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node document] - expected: FAIL - - [2,7: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node document] - expected: FAIL - - [2,8: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedDiv] - expected: FAIL - - [2,9: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoc] - expected: FAIL - - [2,9: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoc] - expected: FAIL - - [2,10: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignPara2] - expected: FAIL - - [2,11: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node xmlDoc] - expected: FAIL - - [2,11: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node xmlDoc] - expected: FAIL - - [2,12: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node xmlElement] - expected: FAIL - - [2,13: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedTextNode] - expected: FAIL - - [2,14: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignTextNode] - expected: FAIL - - [2,15: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node processingInstruction] - expected: FAIL - - [2,16: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedProcessingInstruction] - expected: FAIL - - [2,17: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node comment] - expected: FAIL - - [2,18: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node detachedComment] - expected: FAIL - - [2,19: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node docfrag] - expected: FAIL - - [2,20: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node doctype] - expected: FAIL - - [2,20: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node doctype] - expected: FAIL - - [2,21: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoctype] - expected: FAIL - - [2,21: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 8\], node foreignDoctype] - expected: FAIL - - [3,0: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\]] - expected: FAIL - - [3,0: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\]] - expected: FAIL - - [3,1: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[0\].firstChild] - expected: FAIL - - [3,2: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node paras[1\].firstChild] - expected: FAIL - - [3,3: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignPara1] - expected: FAIL - - [3,4: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignPara1.firstChild] - expected: FAIL - - [3,5: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedPara1] - expected: FAIL - - [3,6: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedPara1.firstChild] - expected: FAIL - - [3,7: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node document] - expected: FAIL - - [3,7: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node document] - expected: FAIL - - [3,8: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedDiv] - expected: FAIL - - [3,9: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoc] - expected: FAIL - - [3,9: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoc] - expected: FAIL - - [3,10: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignPara2] - expected: FAIL - - [3,11: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node xmlDoc] - expected: FAIL - - [3,11: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node xmlDoc] - expected: FAIL - - [3,12: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node xmlElement] - expected: FAIL - - [3,13: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedTextNode] - expected: FAIL - - [3,14: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignTextNode] - expected: FAIL - - [3,15: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node processingInstruction] - expected: FAIL - - [3,16: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedProcessingInstruction] - expected: FAIL - - [3,17: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node comment] - expected: FAIL - - [3,18: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node detachedComment] - expected: FAIL - - [3,19: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node docfrag] - expected: FAIL - - [3,20: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node doctype] - expected: FAIL - - [3,20: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node doctype] - expected: FAIL - - [3,21: resulting DOM for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoctype] - expected: FAIL - - [3,21: resulting range position for range [paras[0\].firstChild, 2, paras[0\].firstChild, 9\], node foreignDoctype] - expected: FAIL - - [4,2: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node paras[1\].firstChild] - expected: FAIL - - [4,7: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node document] - expected: FAIL - - [4,7: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node document] - expected: FAIL - - [4,9: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc] - expected: FAIL - - [4,9: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc] - expected: FAIL - - [4,11: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc] - expected: FAIL - - [4,11: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc] - expected: FAIL - - [4,20: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node doctype] - expected: FAIL - - [4,20: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node doctype] - expected: FAIL - - [4,21: resulting DOM for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype] - expected: FAIL - - [4,21: resulting range position for range [paras[1\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype] - expected: FAIL - - [5,0: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[0\]] - expected: FAIL - - [5,1: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[0\].firstChild] - expected: FAIL - - [5,2: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node paras[1\].firstChild] - expected: FAIL - - [5,3: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignPara1] - expected: FAIL - - [5,4: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignPara1.firstChild] - expected: FAIL - - [5,5: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedPara1] - expected: FAIL - - [5,6: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedPara1.firstChild] - expected: FAIL - - [5,7: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node document] - expected: FAIL - - [5,7: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node document] - expected: FAIL - - [5,8: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedDiv] - expected: FAIL - - [5,9: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoc] - expected: FAIL - - [5,9: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoc] - expected: FAIL - - [5,10: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignPara2] - expected: FAIL - - [5,11: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node xmlDoc] - expected: FAIL - - [5,11: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node xmlDoc] - expected: FAIL - - [5,12: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node xmlElement] - expected: FAIL - - [5,13: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedTextNode] - expected: FAIL - - [5,14: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignTextNode] - expected: FAIL - - [5,15: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node processingInstruction] - expected: FAIL - - [5,16: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedProcessingInstruction] - expected: FAIL - - [5,17: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node comment] - expected: FAIL - - [5,18: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node detachedComment] - expected: FAIL - - [5,19: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node docfrag] - expected: FAIL - - [5,20: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node doctype] - expected: FAIL - - [5,20: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node doctype] - expected: FAIL - - [5,21: resulting DOM for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoctype] - expected: FAIL - - [5,21: resulting range position for range [paras[1\].firstChild, 2, paras[1\].firstChild, 9\], node foreignDoctype] - expected: FAIL - - [6,5: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1] - expected: FAIL - - [6,5: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1] - expected: FAIL - - [6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedPara1.firstChild] - expected: FAIL - - [6,7: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node document] - expected: FAIL - - [6,7: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node document] - expected: FAIL - - [6,8: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedDiv] - expected: FAIL - - [6,8: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node detachedDiv] - expected: FAIL - - [6,9: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoc] - expected: FAIL - - [6,9: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoc] - expected: FAIL - - [6,11: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node xmlDoc] - expected: FAIL - - [6,11: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node xmlDoc] - expected: FAIL - - [6,20: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node doctype] - expected: FAIL - - [6,20: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node doctype] - expected: FAIL - - [6,21: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoctype] - expected: FAIL - - [6,21: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0\], node foreignDoctype] - expected: FAIL - - [7,0: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node paras[0\]] - expected: FAIL - - [7,1: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node paras[0\].firstChild] - expected: FAIL - - [7,2: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node paras[1\].firstChild] - expected: FAIL - - [7,3: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignPara1] - expected: FAIL - - [7,4: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignPara1.firstChild] - expected: FAIL - - [7,5: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1] - expected: FAIL - - [7,5: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1] - expected: FAIL - - [7,6: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedPara1.firstChild] - expected: FAIL - - [7,7: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node document] - expected: FAIL - - [7,7: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node document] - expected: FAIL - - [7,8: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedDiv] - expected: FAIL - - [7,8: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedDiv] - expected: FAIL - - [7,9: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoc] - expected: FAIL - - [7,9: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoc] - expected: FAIL - - [7,10: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignPara2] - expected: FAIL - - [7,11: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node xmlDoc] - expected: FAIL - - [7,11: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node xmlDoc] - expected: FAIL - - [7,12: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node xmlElement] - expected: FAIL - - [7,13: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedTextNode] - expected: FAIL - - [7,14: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignTextNode] - expected: FAIL - - [7,15: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node processingInstruction] - expected: FAIL - - [7,16: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedProcessingInstruction] - expected: FAIL - - [7,17: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node comment] - expected: FAIL - - [7,18: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node detachedComment] - expected: FAIL - - [7,19: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node docfrag] - expected: FAIL - - [7,20: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node doctype] - expected: FAIL - - [7,20: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node doctype] - expected: FAIL - - [7,21: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoctype] - expected: FAIL - - [7,21: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8\], node foreignDoctype] - expected: FAIL - - [8,3: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1] - expected: FAIL - - [8,3: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1] - expected: FAIL - - [8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignPara1.firstChild] - expected: FAIL - - [8,7: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node document] - expected: FAIL - - [8,7: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node document] - expected: FAIL - - [8,9: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoc] - expected: FAIL - - [8,9: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoc] - expected: FAIL - - [8,11: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node xmlDoc] - expected: FAIL - - [8,11: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node xmlDoc] - expected: FAIL - - [8,20: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node doctype] - expected: FAIL - - [8,20: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node doctype] - expected: FAIL - - [8,21: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoctype] - expected: FAIL - - [8,21: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0\], node foreignDoctype] - expected: FAIL - - [9,0: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node paras[0\]] - expected: FAIL - - [9,1: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node paras[0\].firstChild] - expected: FAIL - - [9,2: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node paras[1\].firstChild] - expected: FAIL - - [9,3: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1] - expected: FAIL - - [9,3: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1] - expected: FAIL - - [9,4: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara1.firstChild] - expected: FAIL - - [9,5: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedPara1] - expected: FAIL - - [9,6: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedPara1.firstChild] - expected: FAIL - - [9,7: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node document] - expected: FAIL - - [9,7: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node document] - expected: FAIL - - [9,8: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedDiv] - expected: FAIL - - [9,9: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoc] - expected: FAIL - - [9,9: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoc] - expected: FAIL - - [9,10: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignPara2] - expected: FAIL - - [9,11: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node xmlDoc] - expected: FAIL - - [9,11: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node xmlDoc] - expected: FAIL - - [9,12: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node xmlElement] - expected: FAIL - - [9,13: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedTextNode] - expected: FAIL - - [9,14: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignTextNode] - expected: FAIL - - [9,15: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node processingInstruction] - expected: FAIL - - [9,16: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedProcessingInstruction] - expected: FAIL - - [9,17: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node comment] - expected: FAIL - - [9,18: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node detachedComment] - expected: FAIL - - [9,19: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node docfrag] - expected: FAIL - - [9,20: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node doctype] - expected: FAIL - - [9,20: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node doctype] - expected: FAIL - - [9,21: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoctype] - expected: FAIL - - [9,21: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8\], node foreignDoctype] - expected: FAIL - - [18,0: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node paras[0\]] - expected: FAIL - - [18,0: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node paras[0\]] - expected: FAIL - - [18,7: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node document] - expected: FAIL - - [18,7: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node document] - expected: FAIL - - [18,9: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc] - expected: FAIL - - [18,9: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoc] - expected: FAIL - - [18,11: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc] - expected: FAIL - - [18,11: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node xmlDoc] - expected: FAIL - - [18,20: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node doctype] - expected: FAIL - - [18,20: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node doctype] - expected: FAIL - - [18,21: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype] - expected: FAIL - - [18,21: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 0\], node foreignDoctype] - expected: FAIL - - [19,0: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node paras[0\]] - expected: FAIL - - [19,0: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node paras[0\]] - expected: FAIL - - [19,7: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node document] - expected: FAIL - - [19,7: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node document] - expected: FAIL - - [19,9: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoc] - expected: FAIL - - [19,9: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoc] - expected: FAIL - - [19,11: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node xmlDoc] - expected: FAIL - - [19,11: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node xmlDoc] - expected: FAIL - - [19,20: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node doctype] - expected: FAIL - - [19,20: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node doctype] - expected: FAIL - - [19,21: resulting DOM for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoctype] - expected: FAIL - - [19,21: resulting range position for range [paras[0\].firstChild, 0, paras[1\].firstChild, 8\], node foreignDoctype] - expected: FAIL - - [20,0: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node paras[0\]] - expected: FAIL - - [20,0: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node paras[0\]] - expected: FAIL - - [20,7: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node document] - expected: FAIL - - [20,7: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node document] - expected: FAIL - - [20,9: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoc] - expected: FAIL - - [20,9: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoc] - expected: FAIL - - [20,11: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node xmlDoc] - expected: FAIL - - [20,11: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node xmlDoc] - expected: FAIL - - [20,20: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node doctype] - expected: FAIL - - [20,20: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node doctype] - expected: FAIL - - [20,21: resulting DOM for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoctype] - expected: FAIL - - [20,21: resulting range position for range [paras[0\].firstChild, 3, paras[3\], 1\], node foreignDoctype] - expected: FAIL - diff --git a/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini b/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini index 4340dd1c35c..790d9642e59 100644 --- a/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini +++ b/tests/wpt/metadata/dom/ranges/Range-surroundContents.html.ini @@ -3780,3 +3780,117 @@ [36,21: resulting DOM for range [docfrag, 0, docfrag, 0\], node foreignDoctype] expected: FAIL + [37,0: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\]] + expected: FAIL + + [37,0: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\]] + expected: FAIL + + [37,1: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\].firstChild] + expected: FAIL + + [37,1: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node paras[0\].firstChild] + expected: FAIL + + [37,2: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node paras[1\].firstChild] + expected: FAIL + + [37,2: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node paras[1\].firstChild] + expected: FAIL + + [37,3: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1] + expected: FAIL + + [37,3: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1] + expected: FAIL + + [37,4: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1.firstChild] + expected: FAIL + + [37,4: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara1.firstChild] + expected: FAIL + + [37,5: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1] + expected: FAIL + + [37,5: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1] + expected: FAIL + + [37,6: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1.firstChild] + expected: FAIL + + [37,6: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedPara1.firstChild] + expected: FAIL + + [37,7: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node document] + expected: FAIL + + [37,8: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedDiv] + expected: FAIL + + [37,8: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedDiv] + expected: FAIL + + [37,9: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignDoc] + expected: FAIL + + [37,10: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara2] + expected: FAIL + + [37,10: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignPara2] + expected: FAIL + + [37,11: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node xmlDoc] + expected: FAIL + + [37,12: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node xmlElement] + expected: FAIL + + [37,12: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node xmlElement] + expected: FAIL + + [37,13: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedTextNode] + expected: FAIL + + [37,13: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedTextNode] + expected: FAIL + + [37,14: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignTextNode] + expected: FAIL + + [37,14: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node foreignTextNode] + expected: FAIL + + [37,15: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node processingInstruction] + expected: FAIL + + [37,15: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node processingInstruction] + expected: FAIL + + [37,16: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedProcessingInstruction] + expected: FAIL + + [37,16: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedProcessingInstruction] + expected: FAIL + + [37,17: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node comment] + expected: FAIL + + [37,17: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node comment] + expected: FAIL + + [37,18: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node detachedComment] + expected: FAIL + + [37,18: resulting range position for range [processingInstruction, 0, processingInstruction, 4\], node detachedComment] + expected: FAIL + + [37,19: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node docfrag] + expected: FAIL + + [37,20: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node doctype] + expected: FAIL + + [37,21: resulting DOM for range [processingInstruction, 0, processingInstruction, 4\], node foreignDoctype] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini b/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini new file mode 100644 index 00000000000..fe1566b0f5f --- /dev/null +++ b/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini @@ -0,0 +1,5 @@ +[NodeIterator.html] + type: testharness + [createNodeIterator() with undefined as arguments] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html.ini new file mode 100644 index 00000000000..511427f54a7 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html.ini @@ -0,0 +1,5 @@ +[toDataURL.jpg.html] + type: testharness + [toDataURL with image/jpg is invalid type hence returns a PNG] + expected: FAIL + diff --git a/tests/wpt/metadata/mozilla-sync b/tests/wpt/metadata/mozilla-sync index f14d1287364..eace16f63f3 100644 --- a/tests/wpt/metadata/mozilla-sync +++ b/tests/wpt/metadata/mozilla-sync @@ -1 +1 @@ -78455ec033c6116732a8f43b909093b7d7732779 \ No newline at end of file +84c4a26e4d05015da4cbbf1f120b317a23bec0b4 diff --git a/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml b/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml index 00a9fbb2291..67eef796a74 100644 --- a/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml +++ b/tests/wpt/web-platform-tests/2dcontext/tools/tests.yaml @@ -483,6 +483,16 @@ var data = canvas.toDataURL('image/png'); @assert data =~ /^data:image\/png[;,]/; +- name: toDataURL.jpg + desc: toDataURL with image/jpg is invalid type hence returns a PNG + testing: + - toDataURL.jpg + - toDataURL.witharguments + code: | + var data = canvas.toDataURL('image/jpg'); + @assert data =~ /^data:image\/png[;,]/; + + - name: toDataURL.bogustype desc: toDataURL with a syntactically invalid type returns a PNG testing: diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm index 7b10b99e225..8014c4221eb 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-key.htm @@ -29,18 +29,18 @@ var cursor = e.target.result; assert_equals(cursor.value, "data", "prequisite cursor.value"); - assert_object_equals(cursor.key, key, 'key'); + assert_key_equals(cursor.key, key, 'key'); assert_readonly(cursor, 'key'); if (key instanceof Array) { cursor.key.push("new"); key.push("new"); - assert_object_equals(cursor.key, key, 'key after array push'); + assert_key_equals(cursor.key, key, 'key after array push'); // But we can not change key (like readonly, just a bit different) cursor.key = 10; - assert_object_equals(cursor.key, key, 'key after assignment'); + assert_key_equals(cursor.key, key, 'key after assignment'); } t.done(); diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm index 04b4a14a07b..2fe24ece8b8 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbcursor-primarykey.htm @@ -33,18 +33,18 @@ assert_equals(cursor.value, "data", "prequisite cursor.value"); assert_equals(cursor.key, "data", "prequisite cursor.key"); - assert_object_equals(cursor.primaryKey, key, 'primaryKey'); + assert_key_equals(cursor.primaryKey, key, 'primaryKey'); assert_readonly(cursor, 'primaryKey'); if (key instanceof Array) { cursor.primaryKey.push("new"); key.push("new"); - assert_object_equals(cursor.primaryKey, key, 'primaryKey after array push'); + assert_key_equals(cursor.primaryKey, key, 'primaryKey after array push'); // But we can not change key (like readonly, just a bit different) cursor.key = 10; - assert_object_equals(cursor.primaryKey, key, 'key after assignment'); + assert_key_equals(cursor.primaryKey, key, 'key after assignment'); } t.done(); diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm b/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm index f724d092ba2..1cb6ff1ace4 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm @@ -33,7 +33,7 @@ open_rq.onupgradeneeded = function(e) { } open_rq.onsuccess = function(e) { - assert_object_equals(keys, [5, 6, 1], "keys"); + assert_array_equals(keys, [5, 6, 1], "keys"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm b/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm index 4f44453e0a5..5077f48469b 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbindex-multientry.htm @@ -44,7 +44,7 @@ idx.getKey('Bobby').onsuccess = this.step_func(function(e) { gotten_keys.push(e.target.result) - assert_object_equals(gotten_keys, expected_keys); + assert_array_equals(gotten_keys, expected_keys); this.done(); }); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm index 2dccc865e72..228dfc457c2 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm @@ -42,13 +42,13 @@ open_rq.onsuccess = function(e) { log("open_rq.success")(e); - assert_object_equals(events, [ "rq_add1.success", - "rq_add2.error: ConstraintError", - "rq_add3.success", + assert_array_equals(events, [ "rq_add1.success", + "rq_add2.error: ConstraintError", + "rq_add3.success", - "transaction.complete", + "transaction.complete", - "open_rq.success" ], + "open_rq.success" ], "events"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm index 10c04b6a8a7..3dcb7330a8a 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm @@ -47,17 +47,17 @@ open_rq.onerror = function(e) { log("open_rq.error")(e); - assert_object_equals(events, [ "rq_add1.success", - "rq_add2.success", + assert_array_equals(events, [ "rq_add1.success", + "rq_add2.success", - "rq_add3.error: AbortError", - "transaction.error: AbortError", - "db.error: AbortError", + "rq_add3.error: AbortError", + "transaction.error: AbortError", + "db.error: AbortError", - "transaction.abort: ConstraintError", - "db.abort: ConstraintError", + "transaction.abort: ConstraintError", + "db.abort: ConstraintError", - "open_rq.error: AbortError" ], + "open_rq.error: AbortError" ], "events"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm index 89e8cb36ce6..f564f6611d6 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm @@ -49,20 +49,20 @@ open_rq.onerror = function(e) { log("open_rq.error")(e); - assert_object_equals(events, [ "rq_add1.success", + assert_array_equals(events, [ "rq_add1.success", - "rq_add2.error: ConstraintError", - "transaction.error: ConstraintError", - "db.error: ConstraintError", + "rq_add2.error: ConstraintError", + "transaction.error: ConstraintError", + "db.error: ConstraintError", - "rq_add3.error: AbortError", - "transaction.error: AbortError", - "db.error: AbortError", + "rq_add3.error: AbortError", + "transaction.error: AbortError", + "db.error: AbortError", - "transaction.abort: ConstraintError", - "db.abort: ConstraintError", + "transaction.abort: ConstraintError", + "db.abort: ConstraintError", - "open_rq.error: AbortError" ], + "open_rq.error: AbortError" ], "events"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm index 8dbe03f59ef..6174523e478 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm @@ -38,7 +38,7 @@ }); idx.get(ar).onsuccess = t.step_func(function(e) { assert_equals(e.target.result.key, 'array', 'key'); - assert_object_equals(e.target.result.i, ar, 'array is the same'); + assert_array_equals(e.target.result.i, ar, 'array is the same'); }); idx.get(num).onsuccess = t.step_func(function(e) { assert_equals(e.target.result.key, 'number', 'key'); diff --git a/tests/wpt/web-platform-tests/IndexedDB/key_valid.html b/tests/wpt/web-platform-tests/IndexedDB/key_valid.html index f45d4a903e3..3bac0732cd4 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/key_valid.html +++ b/tests/wpt/web-platform-tests/IndexedDB/key_valid.html @@ -35,7 +35,8 @@ .objectStore("store2") .get(['v', key]) rq.onsuccess = t.step_func(function(e) { - assert_object_equals(e.target.result, { x: 'v', keypath: key }) + assert_equals(e.target.result.x, 'v'); + assert_key_equals(e.target.result.keypath, key); t.done() }) }) diff --git a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm index 794b271ba39..ee2e24799e3 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-constrainterror.htm @@ -62,10 +62,7 @@ } else { assert_equals(errors, 2, "expected ConstraintError's"); - - assert_equals(actual_keys.length, expected.length, "array length"); - assert_object_equals(actual_keys, expected, "keygenerator array"); - + assert_array_equals(actual_keys, expected, "keygenerator array"); t.done(); } }); diff --git a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm index 797a184be63..d069f0a2b5f 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keygenerator-overflow.htm @@ -58,7 +58,7 @@ } else { assert_true(overflow_error_fired, "error fired on 'current number' overflow"); - assert_object_equals(actual_keys, expected_keys, "keygenerator array"); + assert_array_equals(actual_keys, expected_keys, "keygenerator array"); t.done(); } diff --git a/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm b/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm index 8430364fc9d..7e5961382c5 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keygenerator.htm @@ -43,9 +43,7 @@ cursor.continue(); } else { - assert_equals(actual_keys.length, expected_keys.length, "array length"); - assert_object_equals(actual_keys, expected_keys, "keygenerator array"); - + assert_key_equals(actual_keys, expected_keys, "keygenerator array"); t.done(); } }); diff --git a/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm b/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm index f65a4de4f0d..1896333f936 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keyorder.htm @@ -45,11 +45,11 @@ var cursor = e.target.result; if (cursor) { - actual_keys.push(cursor.key.valueOf()); + actual_keys.push(cursor.key); cursor.continue(); } else { - assert_object_equals(actual_keys, expected, "keyorder array"); + assert_key_equals(actual_keys, expected, "keyorder array"); assert_equals(actual_keys.length, expected.length, "array length"); t.done(); @@ -60,12 +60,7 @@ // The IDBKey.cmp test test(function () { var sorted = unsorted.slice(0).sort(function(a, b) { return indexedDB.cmp(a, b)}); - - for (var i in sorted) - if (typeof sorted[i] === "object" && 'valueOf' in sorted[i]) - sorted[i] = sorted[i].valueOf(); - - assert_object_equals(sorted, expected, "sorted array"); + assert_key_equals(sorted, expected, "sorted array"); }, "IDBKey.cmp sorted - " + desc); } @@ -84,16 +79,16 @@ keysort('float < Date', [ now, 0, 9999999999999, -0.22 ], - [ -0.22, 0, 9999999999999, now.valueOf() ]); + [ -0.22, 0, 9999999999999, now ]); keysort('float < Date < String < Array', [ [], "", now, [0], "-1", 0, 9999999999999, ], - [ 0, 9999999999999, now.valueOf(), "", "-1", [], [0] ]); + [ 0, 9999999999999, now, "", "-1", [], [0] ]); keysort('Date(1 sec ago) < Date(now) < Date(1 minute in future)', [ now, one_sec_ago, one_min_future ], - [ one_sec_ago.valueOf(), now.valueOf(), one_min_future.valueOf() ]); + [ one_sec_ago, now, one_min_future ]); keysort('-1.1 < 1 < 1.01337 < 1.013373 < 2', [ 1.013373, 2, 1.01337, -1.1, 1 ], @@ -157,12 +152,12 @@ 1, 2.55, Infinity, - one_sec_ago.valueOf(), - now.valueOf(), + one_sec_ago, + now, "test", [], [0 ,2, "c"], - [0, now.valueOf()], + [0, now], [0, "b", "c"], [0, []], [0, [], 3], diff --git a/tests/wpt/web-platform-tests/IndexedDB/keypath.htm b/tests/wpt/web-platform-tests/IndexedDB/keypath.htm index 539af8e500b..b59d614e8a9 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keypath.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keypath.htm @@ -41,9 +41,7 @@ cursor.continue(); } else { - assert_equals(actual_keys.length, expected_keys.length, "array length"); - assert_object_equals(actual_keys, expected_keys, "keyorder array"); - + assert_key_equals(actual_keys, expected_keys, "keyorder array"); t.done(); } }); diff --git a/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm b/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm index 5e0415dbc1d..835b7a33b44 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keypath_maxsize.htm @@ -39,9 +39,7 @@ actual_keys.push(cursor.key.valueOf()); cursor.continue(); } else { - assert_equals(actual_keys.length, expected_keys.length, "array length"); - assert_object_equals(actual_keys, expected_keys, "keyorder array"); - + assert_array_equals(actual_keys, expected_keys, "keyorder array"); t.done(); } }); @@ -63,4 +61,3 @@
Check that a SecurityPolicyViolationEvent strips detail from cross-origin blocked URLs.
+Check that a SecurityPolicyViolationEvent is fired upon blocking an image injected via script.
+Check that a SecurityPolicyViolationEvent is fired upon blocking an image.
This text should be green.
+Style that does not match a 'nonce-*' expression in 'style-src' should not be applied to the page.
This test checks that we enforce all the supplied policies. This test passe if it doesn't alert fail and if the style doesn't apply. + Check that a SecurityPolicyViolationEvent is fired upon blocking an image. ++ IFrames blocked by CSP should generate a 'load' event, regardless of blocked state. This means they appear to be normal cross-origin loads, thereby not leaking URL information directly to JS. +
- - - - - - - - - This test passes if there is a CSP violation saying the plugin was blocked. - - - - - -