Closed
Bug 1972151
Opened 1 year ago
Closed 1 year ago
Image-upscaling test #4 on LCP Web Platform Tests is failing
Categories
(Core :: DOM: Performance APIs, defect)
Core
DOM: Performance APIs
Tracking
()
RESOLVED
FIXED
141 Branch
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: jlink, Assigned: jlink)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Test #4 of the "image-upscaling" LCP WPT test is currently failing with the assert "An upscaled image (width/height) should report the natural size".
| Assignee | ||
Comment 1•1 year ago
|
||
The reason for this test failing is precision loss - we do some imperfect floating point math and then convert the result to an integer at the end.
Re-arranging this math a little bit improves things enough that we now produce the correct result.
| Assignee | ||
Comment 2•1 year ago
|
||
Pushed by jlink@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/721ddbc3d36c
https://hg.mozilla.org/integration/autoland/rev/a9300ff2424b
Re-arrange some math a little bit to avoid some unnecessary precision loss in floating point calculations. r=sefeng
Pushed by chorotan@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/76b08d1b89ac
https://hg.mozilla.org/integration/autoland/rev/de354c6d59d4
Revert "Bug 1972151: Re-arrange some math a little bit to avoid some unnecessary precision loss in floating point calculations. r=sefeng" for causing wpt failures at image-upscaling.html
Comment 5•1 year ago
|
||
Flags: needinfo?(jlink)
Pushed by jlink@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/517649fdc478
https://hg.mozilla.org/integration/autoland/rev/731309819af2
Re-arrange some math a little bit to avoid some unnecessary precision loss in floating point calculations. r=sefeng
Comment 7•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Updated•1 year ago
|
QA Whiteboard: [qa-triage-done-c142/b141]
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(jlink)
You need to log in
before you can comment on or make changes to this bug.
Description
•