diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/bug1293258.js')
-rw-r--r-- | js/src/jit-test/tests/basic/bug1293258.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1293258.js b/js/src/jit-test/tests/basic/bug1293258.js new file mode 100644 index 000000000..79d4dcbd5 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug1293258.js @@ -0,0 +1,10 @@ +try { + function test() { + var arr = new Int8Array(400); + var o = new test(true); + arr[idx] = 9; + } + test(); +} catch(e) { + assertEq(""+e, "InternalError: too much recursion"); +} |