summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1109328.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/debug/bug1109328.js')
-rw-r--r--js/src/jit-test/tests/debug/bug1109328.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/debug/bug1109328.js b/js/src/jit-test/tests/debug/bug1109328.js
new file mode 100644
index 0000000000..8bbadace22
--- /dev/null
+++ b/js/src/jit-test/tests/debug/bug1109328.js
@@ -0,0 +1,8 @@
+try {
+ gcslice(0)(""());
+} catch (e) {}
+g = newGlobal({newCompartment: true})
+g.parent = this
+g.eval("Debugger(parent).onExceptionUnwind=(function(){})");
+gcparam("maxBytes", gcparam("maxBytes") - 8);
+gc();