diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug727330.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug727330.js | 9 |
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 000000000..bfa453302 --- /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); |