summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1001372.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/debug/bug1001372.js')
-rw-r--r--js/src/jit-test/tests/debug/bug1001372.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/debug/bug1001372.js b/js/src/jit-test/tests/debug/bug1001372.js
new file mode 100644
index 000000000..1f0bc78fa
--- /dev/null
+++ b/js/src/jit-test/tests/debug/bug1001372.js
@@ -0,0 +1,21 @@
+var lfcode = new Array();
+lfcode.push = loadFile;
+lfcode.push("");
+lfcode.push("");
+lfcode.push("3");
+lfcode.push("");
+lfcode.push("");
+lfcode.push("");
+lfcode.push("");
+lfcode.push("4");
+lfcode.push("");
+lfcode.push("0");
+lfcode.push("gczeal(2);");
+lfcode.push("\
+ var g = newGlobal();\
+ g.parent = this;\
+ g.eval('new Debugger(parent).onExceptionUnwind = function() {};');\
+ ");
+function loadFile(lfVarx) {
+ evaluate(lfVarx);
+}