summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1106164.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/debug/bug1106164.js')
-rw-r--r--js/src/jit-test/tests/debug/bug1106164.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/debug/bug1106164.js b/js/src/jit-test/tests/debug/bug1106164.js
new file mode 100644
index 000000000..40759439e
--- /dev/null
+++ b/js/src/jit-test/tests/debug/bug1106164.js
@@ -0,0 +1,17 @@
+// |jit-test| error: ReferenceError
+var g = newGlobal();
+g.parent = this;
+g.eval("new Debugger(parent).onExceptionUnwind = function () { };");
+evaluate("\
+ var tokenCodes = {};\
+ tokenCodes.continue = 0;\
+ var arr = [\
+ (0.E87 ), \
+ ];\
+ for(var reportCompare in tokenCodes) {\
+ for(var p1 in arr) {\
+ if(arr[j . arr ++ ] === p) {\
+ }\
+ }\
+ }\
+", { noScriptRval : true, isRunOnce: true });