Index: core/html/HTMLSelectElement.idl |
diff --git a/core/html/HTMLSelectElement.idl b/core/html/HTMLSelectElement.idl |
index 470d9c2597fb5cdd04cf1bb4aadc62a57dda3710..b4ddd8065977da397f1c913999d11e1ef260bab3 100644 |
--- a/core/html/HTMLSelectElement.idl |
+++ b/core/html/HTMLSelectElement.idl |
@@ -42,7 +42,7 @@ interface HTMLSelectElement : HTMLElement { |
[ImplementedAs=addBeforeOptionAtIndex, RaisesException, TypeChecking=Interface] void add(HTMLElement element, long before); |
[RaisesException, DartSuppress] void remove(); // ChildNode overload |
[DartSuppress] void remove(long index); |
- [RaisesException, TypeChecking=Interface|Nullable] setter HTMLOptionElement (unsigned long index, HTMLOptionElement? value); |
+ [RaisesException, TypeChecking=Interface] setter HTMLOptionElement (unsigned long index, HTMLOptionElement? value); |
readonly attribute HTMLCollection selectedOptions; |
attribute long selectedIndex; |
@@ -52,7 +52,7 @@ interface HTMLSelectElement : HTMLElement { |
readonly attribute ValidityState validity; |
readonly attribute DOMString validationMessage; |
boolean checkValidity(); |
- void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); |
+ void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); |
readonly attribute NodeList labels; |
}; |