DOM: Make moveBefore() throw for all pre-move validity checks #48642
Community-TC (pull_request)
Collect results for all tests affected by a pull request in firefox.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-10-16T11:53:21.770Z
Resolved: 2024-10-16T11:55:57.111Z
Task Execution Time: 2 minutes, 35 seconds, 341 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz
WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox
[taskcluster 2024-10-16 11:53:21.882Z] Task ID: AQn6HiEbSqKdDGvwtCrCXw
[taskcluster 2024-10-16 11:53:21.882Z] Worker ID: 6624534999001603389
[taskcluster 2024-10-16 11:53:21.882Z] Worker Group: us-east4-c
[taskcluster 2024-10-16 11:53:21.882Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-10-16 11:53:21.882Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-10-16 11:53:21.882Z] Worker Version: 46.1.0
[taskcluster 2024-10-16 11:53:21.882Z] Public IP: 34.150.246.189
[taskcluster 2024-10-16 11:53:21.882Z] Hostname: proj-wpt-ci-vnrj5dz5skwpprcx05jypg
[taskcluster 2024-10-16 11:53:22.628Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh
...(641 lines hidden)...
1:21.95 INFO queue closed
1:22.04 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 39 checks (34 subtests, 5 tests)
Expected results: 10
Unexpected results: 29
test: 1 (1 timeout)
subtest: 28 (27 fail, 1 timeout)
Unexpected Results
------------------
/dom/nodes/moveBefore/tentative/Node-moveBefore.html
FAIL If node is a host-including inclusive ancestor of parent, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc.body, doc.body)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:19:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:17:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is not a DocumentFragment, DocumentType, Element, Text, ProcessingInstruction, or Comment node, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, doc2)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:27:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:24:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is a Text node and parent is a document, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, doc.createTextNode("text"))" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:33:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:31:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is a doctype and parent is not a document, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc.createElement("a"), doctype)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:40:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:37:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is a DocumentFragment with multiple elements and parent is a document, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, df)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:50:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:44:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is a DocumentFragment with an element and parent is a document with another element, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, df)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:58:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:54:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is an Element and parent is a document with another element, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, el)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:65:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:62:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is a doctype and parent is a document with another doctype, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, doctype)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:73:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:69:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL If node is a doctype and parent is a document with an element, then throw a HierarchyRequestError DOMException. - assert_throws_dom: function "() => insert(doc, doctype)" threw object "TypeError: can't access property "length", parent[methodName] is undefined" that is not a DOMException HierarchyRequestError: property "code" is equal to undefined, expected 3
preInsertionValidateHierarchy/<@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:83:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
preInsertionValidateHierarchy@http://web-platform.test:8000/dom/nodes/pre-insertion-validation-hierarchy.js:79:9
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:13:30
FAIL Calling moveBefore an a leaf node DocumentType must throw HIERARCHY_REQUEST_ERR. - assert_throws_dom: function "function() { node.moveBefore(document.createTextNode("fail"), null) }" threw object "TypeError: node.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
testLeafNode/<@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:22:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testLeafNode@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:20:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:43:13
FAIL Calling moveBefore an a leaf node Text must throw HIERARCHY_REQUEST_ERR. - assert_throws_dom: function "function() { node.moveBefore(document.createTextNode("fail"), null) }" threw object "TypeError: node.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
testLeafNode/<@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:22:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testLeafNode@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:20:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:44:13
FAIL Calling moveBefore an a leaf node Comment must throw HIERARCHY_REQUEST_ERR. - assert_throws_dom: function "function() { node.moveBefore(document.createTextNode("fail"), null) }" threw object "TypeError: node.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
testLeafNode/<@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:22:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testLeafNode@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:20:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:45:13
FAIL Calling moveBefore an a leaf node ProcessingInstruction must throw HIERARCHY_REQUEST_ERR. - assert_throws_dom: function "function() { node.moveBefore(document.createTextNode("fail"), null) }" threw object "TypeError: node.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
testLeafNode/<@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:22:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testLeafNode@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:20:7
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:46:13
FAIL moveBefore() on disconnected parent throws a HierarchyRequestError - assert_throws_dom: function "() => {
disconnectedDestination.moveBefore(connectedTarget, null);
}" threw object "TypeError: disconnectedDestination.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:58:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:53:5
FAIL moveBefore() with disconnected target node throws a HierarchyRequestError - assert_throws_dom: function "() => {
connectedDestination.moveBefore(disconnectedTarget, null);
}" threw object "TypeError: connectedDestination.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:67:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:62:5
FAIL moveBefore() on a cross-document target node throws a HierarchyRequestError - assert_throws_dom: function "() => {
connectedLocalParent.moveBefore(connectedCrossDocChild, null);
}" threw object "TypeError: connectedLocalParent.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:84:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:77:5
FAIL moveBefore() into a Document throws a HierarchyRequestError - assert_throws_dom: function "() => {
// Moving the body into the same place that it already is, which is a valid
// action in the normal case, when moving a node into an Element.
iframe.contentDocument.moveBefore(innerBody, null);
}" threw object "TypeError: iframe.contentDocument.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:98:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:94:5
FAIL moveBefore() into a CharacterData throws a HierarchyRequestError - assert_throws_dom: function "() => {
comment.moveBefore(child, null);
}" threw object "TypeError: comment.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:108:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:104:5
FAIL moveBefore() with node being an inclusive ancestor of parent throws a HierarchyRequestError - assert_throws_dom: parent moving itself function "() => {
parentDiv.moveBefore(parentDiv, null);
}" threw object "TypeError: parentDiv.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:126:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:118:5
FAIL moveBefore() with a non-{Element, CharacterData} throws a HierarchyRequestError - assert_throws_dom: DocumentType throws function "() => {
document.body.moveBefore(document.doctype, null);
}" threw object "TypeError: document.body.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:151:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:149:5
FAIL moveBefore with an Element or CharacterData succeeds - document.body.moveBefore is not a function
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:177:17
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:165:5
FAIL moveBefore with reference child whose parent is NOT the destination parent (context node) throws a NotFoundError. - assert_throws_dom: function "() => {
a.moveBefore(b, c);
}" threw object "TypeError: a.moveBefore is not a function" that is not a DOMException NotFoundError: property "code" is equal to undefined, expected 8
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:200:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:189:5
FAIL Inserting a node before itself should not move the node - a.moveBefore is not a function
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:213:19
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/Node-moveBefore.html:206:5
/dom/nodes/moveBefore/tentative/css-transition-cross-document.html
TIMEOUT Moving a transition across documents should reset its state - Test timed out
TIMEOUT /dom/nodes/moveBefore/tentative/css-transition-cross-document.html
/dom/nodes/moveBefore/tentative/css-transition-to-disconnected-document.html
FAIL Moving an element with a transition to a disconnected document should reset the transitionm state - assert_throws_dom: function "() => {
doc.body.moveBefore(item, null);
}" threw object "TypeError: doc.body.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/css-transition-to-disconnected-document.html:41:24
/dom/nodes/moveBefore/tentative/relevant-mutations.html
FAIL Moving <source> out of <picture> triggers a relevant mutation on sibling <img> - promise_test: Unhandled rejection with value: object "TypeError: document.body.moveBefore is not a function"
FAIL Moving <img> into a <picture> triggers a relevant mutation on the <img>, loading <source> - promise_test: Unhandled rejection with value: object "TypeError: picture.moveBefore is not a function"
/dom/nodes/moveBefore/tentative/throws-exception.html
FAIL moveBefore() on a cross-document target node - assert_throws_dom: moveBefore on a cross-document target node throws an exception function "() => {
connectedLocalParent.moveBefore(connectedCrossDocChild, null);
}" threw object "TypeError: connectedLocalParent.moveBefore is not a function" that is not a DOMException HIERARCHY_REQUEST_ERR: property "code" is equal to undefined, expected 3
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/throws-exception.html:16:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/nodes/moveBefore/tentative/throws-exception.html:10:5
1:22.04 INFO Got 5 unexpected results, with 0 unexpected passes
1:22.04 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:22.39 wptserve INFO Stopped http server on 127.0.0.1:8000
1:22.45 wptserve INFO Stopped http server on 127.0.0.1:8445
1:22.45 wptserve INFO Stopped http server on 127.0.0.1:9000
1:22.45 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:22.45 wptserve INFO Stopped http server on 127.0.0.1:8446
1:22.46 wptserve INFO Stopped http server on 127.0.0.1:8001
1:22.46 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:22.46 wptserve INFO Stopped http server on 127.0.0.1:8443
1:22.46 wptserve INFO Stopped http server on 127.0.0.1:8002
1:22.46 wptserve INFO Stopped http server on 127.0.0.1:8003
1:22.46 wptserve INFO Stopped http server on 127.0.0.1:8444
1:22.55 INFO Removed font: Ahem.ttf
1:22.57 INFO Closing logging queue
1:22.57 INFO queue closed
1:22.57 INFO Tolerating 5 unexpected results
X connection to :99.0 broken (explicit kill or server shutdown).
[taskcluster 2024-10-16 11:55:55.211Z] === Task Finished ===
[taskcluster 2024-10-16 11:55:56.048Z] Successful task run with exit code: 0 completed in 154.167 seconds