| Index: tools/dom/idl/dart/dart.idl
|
| diff --git a/tools/dom/idl/dart/dart.idl b/tools/dom/idl/dart/dart.idl
|
| index 8342f08c5f85d9af51069ee701ab93e27f4feb03..11a8cc9519ebada9da4563cded8d1407e8ac400f 100644
|
| --- a/tools/dom/idl/dart/dart.idl
|
| +++ b/tools/dom/idl/dart/dart.idl
|
| @@ -425,6 +425,18 @@ interface MIDIOutput : MIDIPort {
|
| [DartSuppress]
|
| interface MutationEvent {};
|
|
|
| +// Tweaks types required for Dart strong mode.
|
| +[DartSupplemental]
|
| +interface HTMLCollection {
|
| +
|
| + // FIXME: The index argument should not be optional.
|
| + getter Node? item([Default=Undefined] optional unsigned long index);
|
| + getter any namedItem(DOMString name);
|
| +
|
| + [DartSuppress] getter Element? item([Default=Undefined] optional unsigned long index);
|
| + [DartSuppress] getter Element? namedItem(DOMString name);
|
| +
|
| +};
|
|
|
| Element implements GlobalEventHandlers;
|
|
|
|
|