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(null). If it passes, you'll see a "P
ASS" message below. | 1 This page tests calling document.importNode(null). If it passes, you'll see a "P
ASS" message below. |
3 | 2 |
4 caught exception: NotSupportedError: Failed to execute 'importNode' on 'Document
': The 1st argument provided is either null, or an invalid Node object. | 3 caught exception: TypeError: Failed to execute 'importNode' on 'Document': param
eter 1 is not of type 'Node'. |
5 PASS: importNode(null) didn't crash | 4 PASS: importNode(null) didn't crash |
OLD | NEW |