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

Side by Side Diff: LayoutTests/fast/dom/document-importNode-arguments-expected.txt

Issue 371693002: Set default deep value false in Document.importNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take review comment into consideration Created 6 years, 5 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.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698