Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: test/codegen/expect/dom/dom.js

Issue 1680263002: Support for dart:typed_data (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refine comment Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]]})
});

Powered by Google App Engine
This is Rietveld 408576698