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

Unified Diff: LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html

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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-importNode-arguments-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html b/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
index 8c2c514d7f1ba5be87e1b28a586489a5e117c237..7a3ba8f12536cd5663ed0aecaa4a3749166c1d7e 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
@@ -42,7 +42,7 @@ var foreignFoo = foreignDoc.createElement('x-foo');
foreignFoo.appendChild(foreignDoc.createElement('div', 'x-bar'));
shouldBeTrue("foreignFoo.callbacksCalled");
shouldBeTrue("foreignFoo.firstChild.callbacksCalled");
-importedFoo = document.importNode(foreignFoo)
+importedFoo = document.importNode(foreignFoo, true)
shouldBeTrue("importedFoo.callbacksCalled");
shouldBeTrue("importedFoo.firstChild.callbacksCalled");
@@ -51,7 +51,7 @@ var foreignBar = foreignDoc.createElement('div', 'x-bar');
foreignBar.appendChild(foreignDoc.createElement('x-foo'));
shouldBe("window.callbacksCalled", "['div', 'x-foo']");
window.callbacksCalled = [];
-importedBar = document.importNode(foreignBar);
+importedBar = document.importNode(foreignBar, true);
shouldBeTrue("importedBar.callbacksCalled");
shouldBeTrue("importedBar.firstChild.callbacksCalled");
shouldBe("window.callbacksCalled", "['DIV', 'X-FOO']");
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-importNode-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698