OLD | NEW |
| (Empty) |
1 This test checks the basic functionality of NodeIterator. | |
2 | |
3 This is a testharness.js-based test. | |
4 PASS Construct a NodeIterator by document.createNodeIterator(root). | |
5 PASS Construct a NodeIterator by document.createNodeIterator(root, undefined, un
defined). | |
6 PASS Give an invalid root node to document.createNodeIterator(). | |
7 PASS Iterate over all nodes forward then backward. | |
8 PASS Iterate over all elements forward then backward. | |
9 PASS Iterate over all text nodes forward then backward. | |
10 PASS Iterate over all comment nodes forward then backward. | |
11 PASS Test the behavior of NodeIterator when no nodes match with the given filter
. | |
12 PASS Test the behavior of NodeIterator when NodeFilter is specified. | |
13 PASS Optional arguments to createNodeIterator should be optional (3 passed, null
). | |
14 Harness: the test ran to completion. | |
15 | |
OLD | NEW |