diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testInitelemWithSetter.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testInitelemWithSetter.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testInitelemWithSetter.js b/js/src/jit-test/tests/basic/testInitelemWithSetter.js new file mode 100644 index 0000000000..6753b37870 --- /dev/null +++ b/js/src/jit-test/tests/basic/testInitelemWithSetter.js @@ -0,0 +1,3 @@ +Object.prototype.__defineSetter__(1, function () { throw "fit"; }); +for (var i =0; i<9; i++) + ({1:'a'}); |