diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/arguments/bug1423937.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/arguments/bug1423937.js b/js/src/jit-test/tests/arguments/bug1423937.js new file mode 100644 index 0000000000..928a07a484 --- /dev/null +++ b/js/src/jit-test/tests/arguments/bug1423937.js @@ -0,0 +1,17 @@ +// |jit-test| exitstatus: 6; + +var global = 0; +setInterruptCallback(function() { + foo("A"); +}); +function foo(x) { + for (var i = 0; i < 1000; i++) { + var stack = getBacktrace({args: true}); + } + if (global > 2) return; + global++; + interruptIf(true); + foo("B"); + (function() { g = x;}); +} +foo("C"); |