| 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 importNode should throw informative errors for unsupported node types | 1 importNode should throw informative errors for unsupported node types |
| 3 | 2 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 4 |
| 6 | 5 |
| 7 PASS document.importNode(doc) threw exception NotSupportedError: Failed to execu
te 'importNode' on 'Document': The node provided is a document, which may not be
imported.. | 6 PASS document.importNode(doc) threw exception NotSupportedError: Failed to execu
te 'importNode' on 'Document': The node provided is a document, which may not be
imported.. |
| 8 PASS document.importNode(shadow) threw exception NotSupportedError: Failed to ex
ecute 'importNode' on 'Document': The node provided is a shadow root, which may
not be imported.. | 7 PASS document.importNode(shadow) threw exception NotSupportedError: Failed to ex
ecute 'importNode' on 'Document': The node provided is a shadow root, which may
not be imported.. |
| 9 PASS successfullyParsed is true | 8 PASS successfullyParsed is true |
| 10 | 9 |
| 11 TEST COMPLETE | 10 TEST COMPLETE |
| 12 | 11 |
| OLD | NEW |