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

Unified Diff: test/mjsunit/modules-namespace2.js

Issue 2407423002: [modules] Implement @@iterator on namespace objects. (Closed)
Patch Set: Rename kSize to kHeadersize again. Created 4 years, 2 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/mjsunit/modules-namespace1.js ('k') | test/test262/test262.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-namespace2.js
diff --git a/test/mjsunit/modules-namespace2.js b/test/mjsunit/modules-namespace2.js
index cc0c73f5cdf6de2b21bef163ab9f01b3d1ce5f2a..43529b916dfb8cb321ff86c36327be098368a95a 100644
--- a/test/mjsunit/modules-namespace2.js
+++ b/test/mjsunit/modules-namespace2.js
@@ -4,11 +4,11 @@
//
// MODULE
-// TODO(neis): Symbol.iterator
assertEquals(
- ["b", "c", "get_a", "ns2", "set_a", "zzz", Symbol.toStringTag],
+ ["b", "c", "get_a", "ns2", "set_a", "zzz",
+ Symbol.toStringTag, Symbol.iterator],
Reflect.ownKeys(ns));
-// assertEquals(["b", "c", "get_a", "ns2", "set_a", "zzz"], [...ns]);
+assertEquals(["b", "c", "get_a", "ns2", "set_a", "zzz"], [...ns]);
import * as foo from "modules-skip-1.js";
assertSame(foo.a, ns.b);
« no previous file with comments | « test/mjsunit/modules-namespace1.js ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698