| Index: test/codegen/sunflower/dom.dart
|
| diff --git a/test/codegen/sunflower/dom.dart b/test/codegen/sunflower/dom.dart
|
| index fdbe3764b2e1fba2f92e59e04e217c96a39c8fc7..e41c7561f8961bb21dd47998dd585a16ddec6f1e 100644
|
| --- a/test/codegen/sunflower/dom.dart
|
| +++ b/test/codegen/sunflower/dom.dart
|
| @@ -19,10 +19,6 @@ class Overload {
|
| }
|
| const overload = const Overload();
|
|
|
| -class JsIndexer {
|
| - const JsIndexer();
|
| -}
|
| -
|
| external Document get document;
|
|
|
| @JsName(name: 'Document')
|
| @@ -34,27 +30,10 @@ abstract class Document {
|
| abstract class Element {
|
| void addEventListener(String type, EventListener callback, [bool capture]);
|
| String textContent;
|
| - NodeList get childNodes;
|
| -}
|
| -
|
| -@JsName()
|
| -class Node {}
|
| -
|
| -@JsName()
|
| -@JsIndexer()
|
| -class NodeList {
|
| - external NodeList();
|
| - external num get length;
|
| - external set length(num _);
|
| - external Node item(num index);
|
| -
|
| - external Node operator [](num index);
|
| - external void operator []=(num index, Node);
|
| }
|
|
|
| typedef void EventListener(Event e);
|
|
|
| -@JsName()
|
| abstract class Event {}
|
|
|
| @JsName(name: 'HTMLInputElement')
|
|
|