blob: 7112f31007274c2992f45c6b5e0f76e39d970492 [file] [log] [blame]
// |reftest| skip
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
* Contributors: Gary Kwong and Jason Orendorff
*/
var x = Proxy.create({
iterate: function () {
function f(){}
f.next = function () { throw StopIteration; }
return f;
}
});
for each (var e in [{}, {}, {}, {}, {}, {}, {}, {}, x]) {
for (var v in e) // do not assert
;
}
reportCompare(0, 0, 'ok');