OLD | NEW |
1 CONSOLE WARNING: 'NodeIterator.expandEntityReferences' is deprecated and has bee
n removed from DOM. It always returns false. | 1 CONSOLE WARNING: 'NodeIterator.expandEntityReferences' is deprecated and has bee
n removed from DOM. It always returns false. |
2 This test checks the basic functionality of NodeIterator. | 2 This test checks the basic functionality of NodeIterator. |
3 | 3 |
4 This is a testharness.js-based test. | 4 This is a testharness.js-based test. |
5 PASS Construct a NodeIterator by document.createNodeIterator(). | 5 PASS Construct a NodeIterator by document.createNodeIterator(root). |
| 6 PASS Construct a NodeIterator by document.createNodeIterator(root, undefined, un
defined). |
6 PASS Give an invalid root node to document.createNodeIterator(). | 7 PASS Give an invalid root node to document.createNodeIterator(). |
7 PASS Iterate over all nodes forward then backward. | 8 PASS Iterate over all nodes forward then backward. |
8 PASS Iterate over all elements forward then backward. | 9 PASS Iterate over all elements forward then backward. |
9 PASS Iterate over all text nodes forward then backward. | 10 PASS Iterate over all text nodes forward then backward. |
10 PASS Iterate over all comment nodes forward then backward. | 11 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 no nodes match with the given filter
. |
12 PASS Test the behavior of NodeIterator when NodeFilter is specified. | 13 PASS Test the behavior of NodeIterator when NodeFilter is specified. |
13 PASS Test that the fourth argument (expandEntityReferences) is ignored. | 14 PASS Test that the fourth argument (expandEntityReferences) is ignored. |
14 PASS Optional arguments to createNodeIterator should be optional (3 passed, null
). | 15 PASS Optional arguments to createNodeIterator should be optional (3 passed, null
). |
15 Harness: the test ran to completion. | 16 Harness: the test ran to completion. |
16 | 17 |
OLD | NEW |