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

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

Issue 1151333005: A couple of other "stack overflow" vs. "has_pending_exception()" issues fixed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing and try failures fixes Created 5 years, 6 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/regress/regress-crbug-450960.js ('k') | test/mjsunit/regress/regress-crbug-491062.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-471659.js
diff --git a/test/mjsunit/regress/regress-crbug-491062.js b/test/mjsunit/regress/regress-crbug-471659.js
similarity index 58%
copy from test/mjsunit/regress/regress-crbug-491062.js
copy to test/mjsunit/regress/regress-crbug-471659.js
index e16f85b1eb87ac991fdcb65c7cc7527de807608a..fa27baa3e817fdb23421c5f3fede9cd6a80ea7d2 100644
--- a/test/mjsunit/regress/regress-crbug-491062.js
+++ b/test/mjsunit/regress/regress-crbug-471659.js
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax --stack-limit=32
+// Flags: --stack-size=100
-function g() {}
+var s = "0123456789ABCDEF";
+for (var i = 0; i < 16; i++) s += s;
var count = 0;
function f() {
try {
f();
+ if (count < 10) {
+ f();
+ }
} catch(e) {
- print(e.stack);
- }
- if (count < 50) {
- count++;
- %DebugGetLoadedScripts();
+ s.replace("+", "-");
}
+ count++;
}
f();
-g();
« no previous file with comments | « test/mjsunit/regress/regress-crbug-450960.js ('k') | test/mjsunit/regress/regress-crbug-491062.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698