summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug547911-1.js
blob: e15c3356c53cb695795df2aab221bdf74dbe1753 (plain)
1
2
3
4
5
6
7
a = b = c = d = 0;
this.__defineGetter__("e", function () { throw StopIteration; })
try {
    for each(f in this) {}
} catch (exc) {
    assertEq(exc, StopIteration);
}