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

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

Issue 1160343003: Revert "fixes #173, ability to use native JS indexers" (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « test/codegen/domtest.dart ('k') | test/codegen/expect/domtest.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/domtest.js
diff --git a/test/codegen/expect/domtest.js b/test/codegen/expect/domtest.js
deleted file mode 100644
index ed1514f3dee3baca5d9daf0ef80d7b66d5d44770..0000000000000000000000000000000000000000
--- a/test/codegen/expect/domtest.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var domtest = dart.defineLibrary(domtest, {});
-var dom = dart.import(dom);
-var core = dart.import(core);
-(function(exports, dom, core) {
- 'use strict';
- // Function testNativeIndexers: () → dynamic
- function testNativeIndexers() {
- let nodes = dom.document.querySelector('body').childNodes;
- for (let i = 0; dart.notNull(i) < dart.notNull(nodes.length); i = dart.notNull(i) + 1) {
- core.print(nodes[i]);
- core.print(nodes[i] = null);
- }
- }
- // Exports:
- exports.testNativeIndexers = testNativeIndexers;
-})(domtest, dom, core);
« no previous file with comments | « test/codegen/domtest.dart ('k') | test/codegen/expect/domtest.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698