summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug662132.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug662132.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug662132.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug662132.js b/js/src/jit-test/tests/auto-regress/bug662132.js
new file mode 100644
index 0000000000..a3f52a2be7
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug662132.js
@@ -0,0 +1,14 @@
+// Binary: cache/js-dbg-32-6d423e5f2e48-linux
+// Flags: -m -n
+//
+gczeal()
+let n = {}
+let o = {}
+for (let i = 0; i < 5; i++) {
+ Array();
+ for (let j = 0; j < 7; j++) {
+ o.__defineSetter__("", function() {})
+ o.p3 = 1
+ delete o.p3
+ }
+}