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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/focus-slide-on-shadow-host.html

Issue 1685063002: Make 'mode' required parameter for Element.attachShadow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes for tests Created 4 years, 10 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/fast/dom/shadow/focus-slide-on-shadow-host.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-slide-on-shadow-host.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-slide-on-shadow-host.html
index 8ec5bac074a3f92f5ba21a68826d90f8d96aad62..14a84149b6a04ffcd6c1d9ea94455c8783d55608 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-slide-on-shadow-host.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-slide-on-shadow-host.html
@@ -15,7 +15,7 @@ function prepareDOMTree(parent, delegatesFocus)
parent.appendChild(
createDOM('div', {'id': 'shadowHost', 'tabindex': '0'},
- createShadowRoot({'delegatesFocus': delegatesFocus},
+ attachShadow({'mode': 'open', 'delegatesFocus': delegatesFocus},
createDOM('div', {'id': 'innerDiv'},
document.createTextNode('Blink')),
createDOM('input', {'id': 'inputA'}),

Powered by Google App Engine
This is Rietveld 408576698