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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.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-method-with-delegatesFocus.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html
index 8efe7163a9b1b401f1fdb0badd1241098c58d451..a36aaa852f54411f1189dc6b84483a87af58c530 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html
@@ -29,7 +29,7 @@ function registerShadow(templateId, tagName) {
var proto = Object.create(HTMLElement.prototype);
proto.createdCallback = function() {
var delegatesFocus = this.hasAttribute('delegatesFocus');
- this.attachShadow({'delegatesFocus': delegatesFocus}).appendChild(
+ this.attachShadow({'mode': 'open', 'delegatesFocus': delegatesFocus}).appendChild(
document.importNode(template.content, true));
};
document.registerElement(tagName, { prototype: proto });

Powered by Google App Engine
This is Rietveld 408576698