Chromium Code Reviews| Index: test/codegen/expect/dom/dom.js |
| diff --git a/test/codegen/expect/dom/dom.js b/test/codegen/expect/dom/dom.js |
| index c577cada7d0490668b5b3e64ecdbf64753a6818e..9640c32a5fa5e2685298882add1d54e0756f45e3 100644 |
| --- a/test/codegen/expect/dom/dom.js |
| +++ b/test/codegen/expect/dom/dom.js |
| @@ -17,7 +17,11 @@ dart_library.library('dom/dom', window, /* Imports */[ |
| dart.setSignature(CustomEvent, { |
| constructors: () => ({CustomEvent: [CustomEvent, [core.String], {detail: dart.dynamic, bubbles: dart.dynamic, cancelable: dart.dynamic}]}) |
| }); |
| - class HTMLCollection extends core.Object {} |
| + class HTMLCollection extends core.Object { |
| + get(index) { |
| + return this["[]"](index); |
|
Jennifer Messerly
2016/02/10 00:20:30
Hmm. This looks a bit dubious. We never use "[]" o
|
| + } |
| + } |
| dart.setSignature(HTMLCollection, { |
| methods: () => ({get: [Element, [core.num]]}) |
| }); |