summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug727330.js
blob: bfa45330264c9dd5b1f8016f6be2d3ed5a58fe19 (plain)
1
2
3
4
5
6
7
8
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);