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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl

Issue 2372593005: Restrict type attribute on menuitem (Closed)
Patch Set: Use ReflectOnly etc. Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/html/dom/reflection-misc-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl
index 6fba343a5996bdb363be76789a5bf7d5dd4b5a38..c6ed0af8f0fd4a28a0518620981eb4cd84dffcce 100644
--- a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl
@@ -7,7 +7,7 @@
[
RuntimeEnabled=ContextMenu,
] interface HTMLMenuItemElement : HTMLElement {
- [CEReactions, Reflect] attribute DOMString type;
+ [CEReactions, Reflect, ReflectOnly=("checkbox","radio"), ReflectInvalid="command", ReflectMissing="command"] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString label;
[CEReactions, Reflect, URL] attribute DOMString icon;
[CEReactions, Reflect] attribute boolean disabled;
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/html/dom/reflection-misc-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698