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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html

Issue 1408443003: Add Element.attachShadow under the ShadowDOMV1 runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rewrite a test Created 5 years, 2 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
Index: third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html b/third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html
index 0187f4e0d17b2772e64bed1bcf22651882ff5d44..d4c90113000516e3295171c0d680dd100003a2ba 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html
@@ -10,7 +10,7 @@ function loaded()
var template = document.querySelector("#tmpl");
var root = document.querySelector("#host").createShadowRoot();
root.appendChild(template.content.cloneNode(true));
- var rootClosed = document.querySelector("#hostClosed").createShadowRoot({mode: 'closed'});
+ var rootClosed = document.querySelector("#hostClosed").attachShadow({mode: 'closed'});
rootClosed.appendChild(template.content.cloneNode(true));
runTest();
}

Powered by Google App Engine
This is Rietveld 408576698