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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.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-with-dom-mutation.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html
index b7e26db80b40439394096300df4d01a457a66e24..6adf7ea020fdaab1f781455840c5a03edc0d5a14 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html
@@ -16,7 +16,7 @@ function buildTree(parent, delegatesFocus)
parent.innerHTML = '';
parent.appendChild(
createDOM('div', {id: 'host'},
- createShadowRoot({delegatesFocus: delegatesFocus},
+ attachShadow({'mode': 'open', delegatesFocus: delegatesFocus},
createDOM('input', {id: 'input'})),
createDOM('div', {id: 'dest'})));

Powered by Google App Engine
This is Rietveld 408576698