Index: core/html/HTMLOptionsCollection.idl |
diff --git a/core/html/HTMLOptionsCollection.idl b/core/html/HTMLOptionsCollection.idl |
index 11d7673e61fddc1fed993dd748f61e31b3bdd9d0..8493d14c27b1cf5200df2ef2709f3bc7f94047fd 100644 |
--- a/core/html/HTMLOptionsCollection.idl |
+++ b/core/html/HTMLOptionsCollection.idl |
@@ -26,12 +26,12 @@ |
attribute long selectedIndex; |
[Custom=Setter, RaisesException=Setter] attribute unsigned long length; |
[ImplementedAs=item] getter Node (unsigned long index); |
- [RaisesException, StrictTypeChecking] setter HTMLOptionElement (unsigned long index, HTMLOptionElement? value); |
+ [RaisesException, TypeChecking=Interface|Nullable] setter HTMLOptionElement (unsigned long index, HTMLOptionElement? value); |
// FIXME: The spec and firefox return an Element (the first matching Element). |
[ImplementedAs=namedGetter] getter (NodeList or Element) namedItem(DOMString name); |
- [Custom, RaisesException] void add([Default=Undefined] optional HTMLOptionElement option, optional unsigned long index); |
+ [Custom, RaisesException, DartSuppress] void add([Default=Undefined] optional HTMLOptionElement option, optional unsigned long index); |
void remove(unsigned long index); |
- void remove(HTMLOptionElement option); // non-standard |
+ [MeasureAs=HTMLOptionsCollectionRemoveElement, DartSuppress] void remove(HTMLOptionElement option); // non-standard |
}; |