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

Unified Diff: Source/core/html/HTMLOptionsCollection.idl

Issue 15899009: Support indexed setter generation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 7 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: Source/core/html/HTMLOptionsCollection.idl
diff --git a/Source/core/html/HTMLOptionsCollection.idl b/Source/core/html/HTMLOptionsCollection.idl
index 6747e90b612b35735ac5c4d6daaa64a849f84c01..839c1d7d5aaaf6901f4e8e126dad28854c1166b9 100644
--- a/Source/core/html/HTMLOptionsCollection.idl
+++ b/Source/core/html/HTMLOptionsCollection.idl
@@ -25,7 +25,7 @@
attribute long selectedIndex;
[CustomSetter, SetterRaisesException] attribute unsigned long length;
[ImplementedAs=item] getter Node(unsigned long index);
- [Custom] setter boolean (unsigned long index, Node value);
+ [ImplementedAs=anonymousIndexedSetter, RaisesException] setter HTMLOptionElement (unsigned long index, HTMLOptionElement value);
[ImplementedAs=anonymousNamedGetter] getter (NodeList or Node)(DOMString name);
[Custom] Node namedItem([Default=Undefined] optional DOMString name);

Powered by Google App Engine
This is Rietveld 408576698