summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug727330.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug727330.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug727330.js b/js/src/jit-test/tests/auto-regress/bug727330.js
new file mode 100644
index 0000000000..bfa4533026
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug727330.js
@@ -0,0 +1,9 @@
+// |jit-test| error:TypeError
+
+// Binary: cache/js-dbg-64-ff51ddfdf5d1-linux
+// Flags:
+//
+var a = [];
+for (var i = 0; i < 200; ++i) a.push({});
+var p = new Proxy({}, {preventExtensions() { return false; }});
+Object.preventExtensions(p);