Closed
Bug 1708010
Opened 4 years ago
Closed 4 years ago
temperature conversion in addressbar/urlbar wrong, e.g. °C (Celsius) to °F (Fahrenheit) uses wrong formula
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
90 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox88 | --- | unaffected |
| firefox89 | --- | unaffected |
| firefox90 | --- | verified |
People
(Reporter: aryx, Assigned: aryx)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
[Tracking Requested - why for this release]:
Wrong temperature conversion in new feature for en-US.
Steps to reproduce:
- Set
browser.urlbar.suggest.calculatortotrue. - Type this into the address bar:
30C in F
Actual result: 111.6°F
Expected result: 86°F
Reason for the difference:
The formula is T[C] * 1.8 + 32. Firefox uses (T[C] + 32) * 1.8.
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•4 years ago
|
||
Code got added in bug 1697722.
Comment 2•4 years ago
|
||
Thanks for noticing and patching, but this doesn't need to track. The unit converter is experimentally enabled only on Nightly, and we don't have plans to enable it more broadly any time soon. I'll take the triage owner's prerogative and cancel the request.
tracking-firefox90:
? → ---
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/6f26f291d34b
fix temperature conversion from Celsius to Fahrenheit. r=daisuke
Comment 4•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
verified fix on WIndows10, ubuntu 20 and Mac 10.15
with release 89, beta 90.0b1 and Nightly 91.0a1
in all cases urlbar showed 86
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Keywords: regression
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•