16.7dom/traversal/

1,608 / 1,608 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
18
Blocking files
0

Chrome 1,606 / 1,608 WPT subtests passing on the same files, none blocking

Tests

18 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
NodeFilter-constants.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Constants for acceptNode on NodeFilter interface object.
  2. Constants for whatToShow on NodeFilter interface object.
NodeIterator-removal-during-filtering.html4 / 4 passingChrome 3 / 40 failedClean
Standing
Clean runner status OK
Chrome
With failures 3 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Removing the accepted node during its own filtering retargets the reference and returns the filtered node
  2. Removing an already-visited subtree during filtering does not disrupt forward traversal
  3. referenceNode during filtering reflects the last accepted node, not the candidate
  4. Removing an ancestor of the in-flight position during filtering, pointer before it, with no following node within root
NodeIterator-removal.html25 / 25 passingChrome 24 / 250 failedClean
Standing
Clean runner status OK
Chrome
With failures 24 / 25 WPT subtests passing runner status OK
25 passing subtests
  1. Test removing node paras[0]
  2. Test removing node paras[0].firstChild
  3. Test removing node paras[1].firstChild
  4. Test removing node paras[5].firstChild
  5. Test removing node foreignPara1
  6. Test removing node foreignPara1.firstChild
  7. Test removing node detachedPara1
  8. Test removing node detachedPara1.firstChild
  9. Test removing node foreignPara2
  10. Test removing node xmlElement
  11. Test removing node foreignTextNode
  12. Test removing node processingInstruction
  13. Test removing node comment
  14. Test removing node doctype
  15. Test removing node foreignDoctype
  16. Test removing node paras[1]
  17. Test removing node detachedPara2
  18. Test removing node detachedPara2.firstChild
  19. Test removing node testDiv
  20. Test removing node xmlTextNode
  21. Test removing node xmlComment
  22. Test removing node foreignComment
  23. Test removing node xmlDoctype
  24. Removing an inclusive ancestor of reference, pointer before reference is true, with a following node within root
  25. Removing an inclusive ancestor of reference, pointer before reference is true, with no following node within root
NodeIterator.html766 / 766 passingChrome 766 / 7660 failedClean
Standing
Clean runner status OK
Chrome
Clean 766 / 766 WPT subtests passing runner status OK

766 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

TreeWalker-acceptNode-filter-cross-realm-null-browsing-context.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. TreeWalker: NodeFilter from detached iframe doesn't get called
TreeWalker-acceptNode-filter-cross-realm.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. NodeFilter is cross-realm plain object without 'acceptNode' property
  2. NodeFilter is cross-realm plain object with non-callable 'acceptNode' property
  3. NodeFilter is cross-realm plain object with revoked Proxy as 'acceptNode' property
  4. NodeFilter is cross-realm non-callable revoked Proxy
  5. NodeFilter is cross-realm callable revoked Proxy
TreeWalker-acceptNode-filter.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. Testing with raw function filter
  2. Testing with object filter
  3. Testing with null filter
  4. Testing with undefined filter
  5. Testing with object lacking acceptNode property
  6. Testing with object with non-function acceptNode property
  7. Testing with function having acceptNode function
  8. Testing with filter function that throws
  9. rethrows errors when getting `acceptNode`
  10. performs `Get` on every traverse
  11. Testing with filter object that throws
  12. Testing with filter object: this value and `node` argument
TreeWalker-basic.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Construct a TreeWalker by document.createTreeWalker(root).
  2. Construct a TreeWalker by document.createTreeWalker(root, null, null).
  3. Construct a TreeWalker by document.createTreeWalker(root, undefined, undefined).
  4. Give an invalid root node to document.createTreeWalker().
  5. Walk over nodes.
  6. Optional arguments to createTreeWalker should be optional (3 passed, null).
TreeWalker-currentNode.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Test that TreeWalker.parent() doesn't set the currentNode to a node not under the root.
  2. Test that setting currentNode to non-Node values throws.
  3. Test that we handle setting the currentNode to arbitrary nodes not under the root element.
  4. Test how we handle the case when the traversed to node is within the root, but the currentElement is not.
TreeWalker-nextNode-detached-currentNode.window.js3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. nextNode() returns null when currentNode is a detached element with no descendants and whatToShow does not match it
  2. nextNode() returns null after exhausting a detached subtree
  3. nextNode() terminates when iterating over template.content not under the walker's root
TreeWalker-previousNodeLastChildReject.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that previousNode properly respects the filter.
TreeWalker-previousSiblingLastChildSkip.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that previousSibling properly respects the filter.
TreeWalker-realm.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Node returned by TreeWalker from different realm
  2. Node returned by TreeWalker from different realm with acceptNode
TreeWalker-traversal-reject.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Testing nextNode
  2. Testing firstChild
  3. Testing nextSibling
  4. Testing parentNode
  5. Testing previousSibling
  6. Testing previousNode
TreeWalker-traversal-skip-most.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Testing nextSibling
  2. Testing previousSibling
TreeWalker-traversal-skip.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Testing nextNode
  2. Testing firstChild
  3. Testing nextSibling
  4. Testing parentNode
  5. Testing previousSibling
  6. Testing previousNode
TreeWalker-walking-outside-a-tree.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. walking outside a tree
TreeWalker.html761 / 761 passingChrome 761 / 7610 failedClean
Standing
Clean runner status OK
Chrome
Clean 761 / 761 WPT subtests passing runner status OK

761 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.