Closed
Bug 1029969
Opened 11 years ago
Closed 11 years ago
Make compositor animation (OMTA) tests ignore floating-point differences
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: birtles, Assigned: birtles)
Details
Attachments
(1 file)
|
4.52 KB,
patch
|
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
Some of the tests for off-main thread animations (OMTA) fail on Android due to minor differences in floating-point representation. Typically we have a tolerance factor that covers this but for a couple of tests we don't. Specifically:
* test_animations_omta_start.html expects the values to match exactly
* test_animations_omta.html has one check that tests around bug 978833 that also expects the values to match exactly.
We should update these tests to include a tolerance factor so that all tests pass when we turn on OMTA on Android.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8446259 -
Flags: review?(dzbarsky)
Comment 2•11 years ago
|
||
Comment on attachment 8446259 [details] [diff] [review]
Make compositor animation (OMTA) tests ignore floating-point differences
Review of attachment 8446259 [details] [diff] [review]:
-----------------------------------------------------------------
Seems reasonable. Out of curiousity, why did this only affect Android?
Attachment #8446259 -
Flags: review?(dzbarsky) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to David Zbarsky (:dzbarsky) from comment #2)
> Comment on attachment 8446259 [details] [diff] [review]
> Make compositor animation (OMTA) tests ignore floating-point differences
>
> Review of attachment 8446259 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Seems reasonable. Out of curiousity, why did this only affect Android?
No idea. It was only a minor difference like 50 vs 50.00000003 or something of that order. So it could be some difference in floating-point representation. I didn't dig into it since I don't have an Android debug environment set up.
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•