Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: LayoutTests/fast/dom/importNode-unsupported-node-type-expected.txt

Issue 252713004: Make default for deep parameter in importNode false (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 importNode should throw informative errors for unsupported node types 2 importNode should throw informative errors for unsupported node types
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
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.. 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..
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.. 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..
8 PASS successfullyParsed is true 9 PASS successfullyParsed is true
9 10
10 TEST COMPLETE 11 TEST COMPLETE
11 12
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/importNode-null-expected.txt ('k') | LayoutTests/fast/html/imports/resources/custom-element-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698