Closed
Bug 586547
Opened 15 years ago
Closed 14 years ago
TM: Different values with testcase containing for...each, for...in, Boolean()
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 587964
People
(Reporter: gkw, Assigned: dvander)
References
Details
(Keywords: testcase)
try {
for each(ex in [Boolean()])
function gs() {}
x = []
var b = [];
for ([, b] in this) {
print(b)
}
var e
} catch (e) {}
Tested on JM changeset f7cf2b7b7961, this doesn't seem to occur on TM.
Without any parameters, this returns (the same result as the TM branch shells):
undefined
undefined
x
s
undefined
With -j on JM, this returns a different result:
undefined
undefined
x
s
(Note the last missing "undefined")
Comment 1•15 years ago
|
||
I think this is a dup of bug 585260.
![]() |
Assignee | |
Updated•14 years ago
|
Assignee: general → dvander
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 2•14 years ago
|
||
This reproduces on tm-tip with HOTLOOP = 3. Bisecting.
Summary: JM: Different values with testcase containing for...each, for...in, Boolean() → TM: Different values with testcase containing for...each, for...in, Boolean()
![]() |
Assignee | |
Comment 3•14 years ago
|
||
changeset: 48671:fd0411f5ce7f
user: Andreas Gal <gal@mozilla.com>
date: Thu Aug 05 22:54:34 2010 -0700
summary: Optimize string[idx] on trace (584499, r=lw).
Comment 4•14 years ago
|
||
Maybe a dup of bug 587964
![]() |
Assignee | |
Comment 5•14 years ago
|
||
Good call.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•