1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug568275.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +// Binary: cache/js-dbg-32-9ca0a738a8ad-linux 1.5 +// Flags: 1.6 +// 1.7 +x = ({ 1.8 + x: /x/ 1.9 +}) 1.10 +x.p = [] 1.11 +Object.defineProperty(x, "x", { 1.12 + writable: "" 1.13 +}) 1.14 +for (b in [[], null, [undefined]]) { 1.15 + function f(a) { 1.16 + delete a.x 1.17 + a.x = Infinity 1.18 + } 1.19 + for each(z in [x]) { 1.20 + f(z) 1.21 + } 1.22 +}