Closed
Bug 553510
Opened 15 years ago
Closed 15 years ago
TM: failure while enumerating over a getter
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dvander, Unassigned)
References
Details
var obj = {a: 0, b: 0, c: 0, get e() { throw StopIteration; }};
try {
for each (x in obj) {}
FAIL;
} catch (exc) {
assertEq(exc, StopIteration);
}
tm-tip:
x.js:6: Error: Assertion failed: got (new ReferenceError("FAIL is not defined", "x.js", 4)), expected ({})
This is a slightly modified test case from trace-test/tests/basic/bug547911-2.js
![]() |
Reporter | |
Comment 1•15 years ago
|
||
The upcoming iterator overhaul fixes this. Yay!
Depends on: fastiterators
Comment 2•15 years ago
|
||
The iterator overhaul removes the imacros involved in JSOP_ITER and JSOP_NEXTITER, which removes the source of this bug.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•