summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug600889.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug600889.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug600889.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug600889.js b/js/src/jit-test/tests/auto-regress/bug600889.js
new file mode 100644
index 000000000..4024304bf
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug600889.js
@@ -0,0 +1,15 @@
+// Binary: cache/js-dbg-64-98c134cf59ef-linux
+// Flags: -j
+//
+uneval = function(){}
+Function("\
+ function zz(aa) {\
+ if (aa) this.a = decodeURIComponent;\
+ gc();\
+ delete this.a\
+ }\
+ for each(c in [0, 0, 0, 0, 0, 0, 0, new Boolean(false), \
+ 0, new Boolean(false), new Boolean(false), \"\"]) {\
+ l=new zz(c)\
+ }\
+")()