diff options
Diffstat (limited to 'js/src/jit-test/tests/debug/bug1703760.js')
-rw-r--r-- | js/src/jit-test/tests/debug/bug1703760.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/debug/bug1703760.js b/js/src/jit-test/tests/debug/bug1703760.js new file mode 100644 index 0000000000..4eec3f8d27 --- /dev/null +++ b/js/src/jit-test/tests/debug/bug1703760.js @@ -0,0 +1,18 @@ +let g = newGlobal({newCompartment: true}); + +Debugger(g).onEnterFrame = function(fr) { + fr.eval("") +}; + +gczeal(11); +gczeal(9, 9); + +g.eval(` + var count = 0; + function inner() { + if (++count < 20) { + inner(); + } + } + inner(); +`); |