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

Unified Diff: test/mjsunit/regress/regress-crbug-648740.js

Issue 2362563002: Add regression test for crbug.com/648740. (Closed)
Patch Set: Add regression test for crbug.com/648740. 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-648740.js
diff --git a/test/mjsunit/regress/regress-crbug-600257.js b/test/mjsunit/regress/regress-crbug-648740.js
similarity index 63%
copy from test/mjsunit/regress/regress-crbug-600257.js
copy to test/mjsunit/regress/regress-crbug-648740.js
index 87bd2e39af387cde81f9c9adb15756f8139a03a3..e52d899852433bbe95bcc3c1de54a56b5c738d7f 100644
--- a/test/mjsunit/regress/regress-crbug-600257.js
+++ b/test/mjsunit/regress/regress-crbug-648740.js
@@ -2,12 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --stack-size=100
+// Flags: --min-preparse-length=0
-(function rec() {
- try {
- rec();
- } catch (e) {
- /{/;
+(function () {
+ function foo() {
+ const arguments = 42;
}
-})();
+})()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698