blob: 3718d13f58f115b317456400f78ed405f5e22887 [file] [log] [blame]
importNode should throw informative errors for unsupported node types
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.importNode(doc) threw exception NotSupportedError: Failed to execute 'importNode' on 'Document': The node provided is a document, which may not be imported..
PASS document.importNode(shadow) threw exception NotSupportedError: Failed to execute 'importNode' on 'Document': The node provided is a shadow root, which may not be imported..
PASS successfullyParsed is true
TEST COMPLETE