Closed
Bug 1422995
Opened 7 years ago
Closed 7 years ago
Use waitForNextFrame in test_animations-dynamic-changes.html
Categories
(Core :: DOM: Animation, enhancement)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(1 file)
A try [1] shows us a test case fails with the conformant Promise handling and performing micro task checkpoint in Animation tick. The failure reason is that we call waitForFrame() [2] to advance the frame but actually it's not. We should use waitForNextFrame() instead.
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=683622b6bba07caec14c439a56aadd843b40f532&selectedJob=149497311
[2] https://hg.mozilla.org/mozilla-central/file/e19b017880c8/dom/animation/test/css-animations/file_animations-dynamic-changes.html#l29
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8934324 [details]
Bug 1422995 - Use waitForNextFrame() instead of waitForFrame() to make sure the next requestAnimationFrame callback happen.
https://reviewboard.mozilla.org/r/205252/#review210818
::: commit-message-4a160:3
(Diff revision 1)
> +Bug 1422995 - Use waitForNextFrame() instead of waitForFrame() to make sure the next requestAnimationFrame callback happen. r?birtles
> +
> +With the conformant Promise handling (bug 1193394) and performaing micro task
nit: s/performaing/performing/
Attachment #8934324 -
Flags: review?(bbirtles) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
A final try, it runs only on Linux64 and Android, but it should be fine.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=eb6d8630825c609ebabe868c5b76ddceb2db7879
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/793d2834b3e3
Use waitForNextFrame() instead of waitForFrame() to make sure the next requestAnimationFrame callback happen. r=birtles
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•