Closed
Bug 968522
Opened 11 years ago
Closed 11 years ago
JS Math bug on FF27
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 941381
People
(Reporter: azakai, Unassigned)
References
()
Details
Attachments
(1 file)
658.73 KB,
application/javascript
|
Details |
http://alteredqualia.com/xg/examples/test_firefox27.html
shows a problem in FF27 (current release). However, it works in later versions, so this seems to have been fixed. Filing anyhow if perhaps it's worth verifying what the underlying issue was.
Reporter | ||
Updated•11 years ago
|
Comment 1•11 years ago
|
||
Cc'ing folks who may be able to id or even dup this. It's worrisome we shipped it -- this bug can help cover that testsuite gap.
/be
Comment 2•11 years ago
|
||
Float32Array being mentioned in the demo page is suggestive.
Updated•11 years ago
|
Flags: needinfo?(benj)
![]() |
||
Comment 3•11 years ago
|
||
Is this fixed in beta 28?
Reporter | ||
Comment 4•11 years ago
|
||
I can't seem to check - when I download beta, I get 27, and when I download aurora, I get 29. Must be exactly as the versions are being switched?
![]() |
||
Comment 5•11 years ago
|
||
Ah, right, we don't spin a beta for a bit.
There are 28 builds in ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/ right now
Reporter | ||
Comment 6•11 years ago
|
||
Ok, confirmed it works on 28. This is just a bug up to 27.
![]() |
||
Comment 7•11 years ago
|
||
Perhaps the same underlying issue as bug 968566.
Comment 8•11 years ago
|
||
Just ran a regression range over it. This bug is caused by:
e1226725f674 Benjamin Bouvier — Bug 918163 - Specialize some Maths function calls for Float32 in Ion. r=sstangl
Looking at the bug, there is one depending bug:
Bug 941381 - IonMonkey: Incorrect fround(asin())
Target Milestone shows the fix landed in Firefox 28. But I see no request to uplift this patch!
Tracking flags also show status-firefox27: affected!
This is really a shame. The fix is a stupid typo. And there were tests added in FF28. Off course they weren't present in FF27.
![]() |
||
Comment 9•11 years ago
|
||
> Tracking flags also show status-firefox27: affected!
Yes, but no one ever requested tracking. Please please just request tracking on regressions on bugs that affect branches, so this won't happen!
Comment 10•11 years ago
|
||
I have run a manual bisection on the reduced shell case. Hannes is totally right for all points: the bug has been introduced in bug 918163 and solved in bug 941381. I have asked for an approval-release for the fix.
Flags: needinfo?(benj)
Comment 11•11 years ago
|
||
(In reply to Hannes Verschore [:h4writer] from comment #8)
> This is really a shame. The fix is a stupid typo. And there were tests added
> in FF28. Off course they weren't present in FF27.
I would have thought you'd always be running the current version of your correctness tests on all branches.
![]() |
||
Comment 12•11 years ago
|
||
The current version of the tests would obviously fail on any old branch, since we've fixed some things since then....
Comment 13•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #12)
> The current version of the tests would obviously fail on any old branch,
> since we've fixed some things since then....
So? Just keep a list of which tests you *know* should fail because you fixed them, then compare that to the list that actually do fail so you can find ones you've missed. (note that I'm only suggesting this for correctness tests, not changes to APIs)
![]() |
||
Comment 14•11 years ago
|
||
Patches accepted to make that work...
Comment 15•11 years ago
|
||
Dave: ideally we would do that. Realistically it will take some work. Cc'ing Taras and Clint in case they can add this to a todo list, or suggest someone else who can.
/be
Comment 16•11 years ago
|
||
For the record, the patch from bug 941381 has been uplifted in mozilla-release, so this is in 27.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•