Index: Source/core/html/HTMLSelectElement.idl |
diff --git a/Source/core/html/HTMLSelectElement.idl b/Source/core/html/HTMLSelectElement.idl |
index 718cec128d31644c7cd4058c927b22125298ab7c..c81347d2ae1489296df57b46b55eaa73eaee0237 100644 |
--- a/Source/core/html/HTMLSelectElement.idl |
+++ b/Source/core/html/HTMLSelectElement.idl |
@@ -37,8 +37,7 @@ interface HTMLSelectElement : HTMLElement { |
// TODO(philipj): The length setter should never throw. |
[RaisesException=Setter] attribute unsigned long length; |
getter Element? item(unsigned long index); |
- // TODO(philipj): The name argument should not be optional. |
- HTMLOptionElement? namedItem([Default=Undefined] optional DOMString name); |
+ HTMLOptionElement? namedItem(DOMString name); |
[RaisesException, TypeChecking=Interface] void add((HTMLOptionElement or HTMLOptGroupElement) element, |
optional (HTMLElement or long)? before = null); |
[RaisesException] void remove(); // ChildNode overload |