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

Unified Diff: test/mjsunit/es6/regress/regress-650172.js

Issue 2368323002: [builtins] adapt arguments for Builtins::kIteratorPrototypeIterator (Closed)
Patch Set: Remove test flag Created 4 years, 3 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 | « src/bootstrapper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/regress/regress-650172.js
diff --git a/test/message/for-of-throw-in-body.js b/test/mjsunit/es6/regress/regress-650172.js
similarity index 64%
copy from test/message/for-of-throw-in-body.js
copy to test/mjsunit/es6/regress/regress-650172.js
index 38b27f38632520e292f66b7ab451df00c2c03b68..d6b534424c371bcc17db7e5be01271e31a74aa01 100644
--- a/test/message/for-of-throw-in-body.js
+++ b/test/mjsunit/es6/regress/regress-650172.js
@@ -2,4 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-for (var x of [1, 2, 3]) { throw 42 }
+var iterator = [].entries().__proto__.__proto__[Symbol.iterator];
+print(1/iterator(-1E-300));
« no previous file with comments | « src/bootstrapper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698