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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
NodeFilter-constants.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Constants for acceptNode on NodeFilter interface object.
- Constants for whatToShow on NodeFilter interface object.
NodeIterator-removal-during-filtering.html 4 / 4 passingChrome 3 / 40 failedClean
4 passing subtests
- Removing the accepted node during its own filtering retargets the reference and returns the filtered node
- Removing an already-visited subtree during filtering does not disrupt forward traversal
- referenceNode during filtering reflects the last accepted node, not the candidate
- Removing an ancestor of the in-flight position during filtering, pointer before it, with no following node within root
NodeIterator-removal.html 25 / 25 passingChrome 24 / 250 failedClean
25 passing subtests
- Test removing node paras[0]
- Test removing node paras[0].firstChild
- Test removing node paras[1].firstChild
- Test removing node paras[5].firstChild
- Test removing node foreignPara1
- Test removing node foreignPara1.firstChild
- Test removing node detachedPara1
- Test removing node detachedPara1.firstChild
- Test removing node foreignPara2
- Test removing node xmlElement
- Test removing node foreignTextNode
- Test removing node processingInstruction
- Test removing node comment
- Test removing node doctype
- Test removing node foreignDoctype
- Test removing node paras[1]
- Test removing node detachedPara2
- Test removing node detachedPara2.firstChild
- Test removing node testDiv
- Test removing node xmlTextNode
- Test removing node xmlComment
- Test removing node foreignComment
- Test removing node xmlDoctype
- Removing an inclusive ancestor of reference, pointer before reference is true, with a following node within root
- Removing an inclusive ancestor of reference, pointer before reference is true, with no following node within root
NodeIterator.html 766 / 766 passingChrome 766 / 7660 failedClean
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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- TreeWalker: NodeFilter from detached iframe doesn't get called
TreeWalker-acceptNode-filter-cross-realm.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- NodeFilter is cross-realm plain object without 'acceptNode' property
- NodeFilter is cross-realm plain object with non-callable 'acceptNode' property
- NodeFilter is cross-realm plain object with revoked Proxy as 'acceptNode' property
- NodeFilter is cross-realm non-callable revoked Proxy
- NodeFilter is cross-realm callable revoked Proxy
TreeWalker-acceptNode-filter.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Testing with raw function filter
- Testing with object filter
- Testing with null filter
- Testing with undefined filter
- Testing with object lacking acceptNode property
- Testing with object with non-function acceptNode property
- Testing with function having acceptNode function
- Testing with filter function that throws
- rethrows errors when getting `acceptNode`
- performs `Get` on every traverse
- Testing with filter object that throws
- Testing with filter object: this value and `node` argument
TreeWalker-basic.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Construct a TreeWalker by document.createTreeWalker(root).
- Construct a TreeWalker by document.createTreeWalker(root, null, null).
- Construct a TreeWalker by document.createTreeWalker(root, undefined, undefined).
- Give an invalid root node to document.createTreeWalker().
- Walk over nodes.
- Optional arguments to createTreeWalker should be optional (3 passed, null).
TreeWalker-currentNode.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Test that TreeWalker.parent() doesn't set the currentNode to a node not under the root.
- Test that setting currentNode to non-Node values throws.
- Test that we handle setting the currentNode to arbitrary nodes not under the root element.
- 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.js 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- nextNode() returns null when currentNode is a detached element with no descendants and whatToShow does not match it
- nextNode() returns null after exhausting a detached subtree
- nextNode() terminates when iterating over template.content not under the walker's root
TreeWalker-previousNodeLastChildReject.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that previousNode properly respects the filter.
TreeWalker-previousSiblingLastChildSkip.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that previousSibling properly respects the filter.
TreeWalker-realm.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Node returned by TreeWalker from different realm
- Node returned by TreeWalker from different realm with acceptNode
TreeWalker-traversal-reject.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Testing nextNode
- Testing firstChild
- Testing nextSibling
- Testing parentNode
- Testing previousSibling
- Testing previousNode
TreeWalker-traversal-skip-most.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Testing nextSibling
- Testing previousSibling
TreeWalker-traversal-skip.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Testing nextNode
- Testing firstChild
- Testing nextSibling
- Testing parentNode
- Testing previousSibling
- Testing previousNode
TreeWalker-walking-outside-a-tree.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- walking outside a tree
TreeWalker.html 761 / 761 passingChrome 761 / 7610 failedClean
761 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.