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

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: Use TreatNullAs, TreatUndefinedAs in case of value is null/undefined 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..82d4bce0573032f8215f5aa9546e7a00210ec1f2 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, [TreatNullAs=anonymousIndexedSetterRemove, TreatUndefinedAs=anonymousIndexedSetterRemove] 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