OLD | NEW |
| 1 CONSOLE WARNING: The behavior of importNode() with no boolean argument is about
to change from doing a deep clone to doing a shallow clone. Make sure to pass a
n explicit boolean argument to keep your current behavior. |
1 This page tests calling document.importNode. | 2 This page tests calling document.importNode. |
2 | 3 |
3 PASS imported.childNodes.length is 2 | 4 PASS imported.childNodes.length is 2 |
4 PASS imported.textContent == 'hello world' is true | 5 PASS imported.textContent == 'hello world' is true |
5 PASS imported.childNodes.length is 2 | 6 PASS imported.childNodes.length is 2 |
6 PASS imported.textContent == 'hello world' is true | 7 PASS imported.textContent == 'hello world' is true |
7 PASS imported.childNodes.length is 0 | 8 PASS imported.childNodes.length is 0 |
8 PASS imported.textContent == '' is true | 9 PASS imported.textContent == '' is true |
9 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
10 | 11 |
11 TEST COMPLETE | 12 TEST COMPLETE |
12 | 13 |
OLD | NEW |