| Index: Source/core/html/HTMLCollection.idl
|
| diff --git a/Source/core/html/HTMLCollection.idl b/Source/core/html/HTMLCollection.idl
|
| index aa57a4757d397515773130208ab9200f218cfc70..85c2d5acb74e618a2c899948fed011e55cac5c1a 100644
|
| --- a/Source/core/html/HTMLCollection.idl
|
| +++ b/Source/core/html/HTMLCollection.idl
|
| @@ -19,13 +19,15 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| +// https://dom.spec.whatwg.org/#interface-htmlcollection
|
| +
|
| [
|
| DependentLifetime,
|
| SetWrapperReferenceFrom=ownerNode,
|
| WillBeGarbageCollected,
|
| ] interface HTMLCollection {
|
| readonly attribute unsigned long length;
|
| - getter Element item([Default=Undefined] optional unsigned long index);
|
| - getter Element namedItem(DOMString name);
|
| + // FIXME: The index argument should not be optional.
|
| + getter Element? item([Default=Undefined] optional unsigned long index);
|
| + getter Element? namedItem(DOMString name);
|
| };
|
| -
|
|
|