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