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. | |
2 This page tests calling document.importNode. | 1 This page tests calling document.importNode. |
3 | 2 |
4 PASS imported.childNodes.length is 2 | 3 PASS imported.childNodes.length is 0 |
5 PASS imported.textContent == 'hello world' is true | 4 PASS imported.textContent == '' is true |
6 PASS imported.childNodes.length is 2 | 5 PASS imported.childNodes.length is 2 |
7 PASS imported.textContent == 'hello world' is true | 6 PASS imported.textContent == 'hello world' is true |
8 PASS imported.childNodes.length is 0 | 7 PASS imported.childNodes.length is 0 |
9 PASS imported.textContent == '' is true | 8 PASS imported.textContent == '' is true |
10 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
11 | 10 |
12 TEST COMPLETE | 11 TEST COMPLETE |
13 | 12 |
OLD | NEW |