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

Unified Diff: test/mjsunit/runtime-gen/setiteratorinitialize.js

Issue 259883002: ES6: Add support for Map and Set Iterator (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code review changes Created 6 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/mjsunit/runtime-gen/setcreateiterator.js ('k') | test/mjsunit/runtime-gen/setiteratornext.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/runtime-gen/setiteratorinitialize.js
diff --git a/test/mjsunit/runtime-gen/arraybufferisview.js b/test/mjsunit/runtime-gen/setiteratorinitialize.js
similarity index 60%
copy from test/mjsunit/runtime-gen/arraybufferisview.js
copy to test/mjsunit/runtime-gen/setiteratorinitialize.js
index def6b3be00071af822eb9ae4f220ee828d261183..9cf36b49119078f6a06544e1709da96d01dc6fd1 100644
--- a/test/mjsunit/runtime-gen/arraybufferisview.js
+++ b/test/mjsunit/runtime-gen/setiteratorinitialize.js
@@ -1,5 +1,7 @@
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
-var _object = new Object();
-%ArrayBufferIsView(_object);
+var _holder = new Set().values();
+var _set = new Set();
+var arg2 = 2;
+%SetIteratorInitialize(_holder, _set, arg2);
« no previous file with comments | « test/mjsunit/runtime-gen/setcreateiterator.js ('k') | test/mjsunit/runtime-gen/setiteratornext.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698