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

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

Issue 858213003: Clear pending exception on stack overflow in the parser (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 70 needed for arm Created 5 years, 11 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/runtime/runtime-internal.cc ('k') | 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-450960.js
diff --git a/test/mjsunit/regress/regress-444805.js b/test/mjsunit/regress/regress-crbug-450960.js
similarity index 54%
copy from test/mjsunit/regress/regress-444805.js
copy to test/mjsunit/regress/regress-crbug-450960.js
index 5a533acd5ebf2fc196373e2b0e2c4b9df0a29ab6..f745522dbe7d88ce2834e8d22f3ecbb93e6e9f91 100644
--- a/test/mjsunit/regress/regress-444805.js
+++ b/test/mjsunit/regress/regress-crbug-450960.js
@@ -2,7 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Flags: --stack-size=70
+
+"a".replace(/a/g, "");
+
+function test() {
+ try {
+ test();
+ } catch(e) {
+ "b".replace(/(b)/g, new []);
+ }
+}
+
try {
- load("test/mjsunit/regress/regress-444805.js-script");
+ test();
} catch (e) {
}
« no previous file with comments | « src/runtime/runtime-internal.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698