Bug 1001372 - Test.
authorShu-yu Guo <shu@rfrn.org>
Tue, 29 Apr 2014 21:57:35 -0700
changeset 181338 e3480e87428d2c2af8678435b50ec32862ae0ad2
parent 181337 1fe69cad97137e20a0b5378371b004c7c2c52149
child 181339 caad9ce31941d0c4b23efaf0d53f8e2b9d69825d
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
bugs1001372
milestone32.0a1
Bug 1001372 - Test.
js/src/jit-test/tests/debug/bug1001372.js
new file mode 100644
--- /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);
+}