1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/bug613151.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +// Iterating over a property with an Array id. 1.5 +function n() {} 1.6 +function g() {} 1.7 +eval("\ 1.8 + function a() {}\ 1.9 + function b() {\ 1.10 + for (w in this) {}\ 1.11 + Object.defineProperty(\ 1.12 + this, \ 1.13 + new Array, \ 1.14 + ({enumerable: true})\ 1.15 + )\ 1.16 + }\ 1.17 + for (z in [0, 0, 0]) b()\ 1.18 +") 1.19 + 1.20 +// Test it doesn't assert. 1.21 +