BUG=chromium:505007
LOG=N
Review URL: https://codereview.chromium.org/
1238273003
Cr-Commit-Position: refs/heads/master@{#29747}
// Flags: --stack-size=100 --allow-natives-syntax
+var count = 0;
function f() {
try {
f();
} catch(e) {
- %GetDebugContext();
+ if (count < 100) {
+ count++;
+ %GetDebugContext();
+ }
}
}
f();
// Flags: --stack-size=100 --allow-natives-syntax
function g() {}
+
+var count = 0;
function f() {
try {
f();
} catch(e) {
- %ExecuteInDebugContext(g);
+ if (count < 100) {
+ count++;
+ %ExecuteInDebugContext(g);
+ }
}
}
f();