michael@0: //Bug 350712 michael@0: michael@0: function iterator () { michael@0: for (var i in []); michael@0: } michael@0: michael@0: try { michael@0: try { michael@0: throw 5; michael@0: } michael@0: catch(error if iterator()) { michael@0: assertEq(false, true); michael@0: } michael@0: } michael@0: catch(error) { michael@0: assertEq(error, 5); michael@0: } michael@0: michael@0: if (typeof reportCompare === "function") michael@0: reportCompare(true, true);