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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRootInit.idl

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/Source/core/dom/shadow/ShadowRootInit.idl
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRootInit.idl b/third_party/WebKit/Source/core/dom/shadow/ShadowRootInit.idl
index a2a97dcd11bc960e6ab43c8963949fb8f720f41a..69321e76d2911f8635b7a07151e3d6afcedc6a6b 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRootInit.idl
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRootInit.idl
@@ -7,6 +7,6 @@
enum ShadowRootMode { "open", "closed" };
dictionary ShadowRootInit {
- ShadowRootMode mode;
+ required ShadowRootMode mode;
[RuntimeEnabled=ShadowRootDelegatesFocus] boolean delegatesFocus;
};

Powered by Google App Engine
This is Rietveld 408576698