diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/basic/bug613151.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/basic/bug613151.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,18 @@ +// Iterating over a property with an Array id. +function n() {} +function g() {} +eval("\ + function a() {}\ + function b() {\ + for (w in this) {}\ + Object.defineProperty(\ + this, \ + new Array, \ + ({enumerable: true})\ + )\ + }\ + for (z in [0, 0, 0]) b()\ +") + +// Test it doesn't assert. +