Closed
Bug 489034
Opened 16 years ago
Closed 16 years ago
let declaration getting lost in certain situations
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.9.1
People
(Reporter: dao, Assigned: brendan)
References
Details
(Keywords: fixed1.9.1, regression, Whiteboard: fixed-in-tracemonkey)
Attachments
(3 files)
See attached tests. Those with nested setTimeouts or a setTimeout in an event listener fail on branch but pass on 1.9 *and on trunk*. I'm filing this bug, because I don't know:
* what fixed this on trunk
* if that other bug was exactly about this issue
* in case it was about a different issue, if that is already blocking
* and if similar tests are in the testsuite now.
Flags: in-testsuite?
Flags: blocking1.9.1?
Reporter | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: DUPEME
Assignee | ||
Comment 1•16 years ago
|
||
Bug 488015?
/be
Comment 2•16 years ago
|
||
just landed Bug 488015 on branch
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Reporter | ||
Comment 3•16 years ago
|
||
Works on 1.9.1 with the latest hourly.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.1b4pre) Gecko/20090418 Shiretoko/3.5b4pre
Reporter | ||
Comment 4•16 years ago
|
||
This is broken again on trunk, not yet on branch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 5•16 years ago
|
||
Assignee: general → brendan
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 6•16 years ago
|
||
Removing fixed1.9.1 to be safe.
/be
Assignee | ||
Comment 7•16 years ago
|
||
Every function in between a non-heavyweight closure we can't optimize into a flat or null closure must be heavyweight, if there's a top level let binding used by the innermost function being considered. This fixes Dao's test (thanks for that test, btw!).
/be
Attachment #377755 -
Flags: review?(mrbkap)
Updated•16 years ago
|
Attachment #377755 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 8•16 years ago
|
||
Fixed in tm:
http://hg.mozilla.org/tracemonkey/rev/f9f05f6e7faa
/be
Whiteboard: fixed-in-tracemonkey
Comment 9•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Comment 10•16 years ago
|
||
Keywords: fixed1.9.1
Assignee | ||
Updated•16 years ago
|
Reporter | ||
Updated•10 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•