[wpt-sync] Sync PR 63635 - Fix commitStyles crash on replaced+canceled animation
Categories
(Core :: DOM: Animation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63635 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63635
Details from upstream follow.
Claire Chambers <clchambers@microsoft.com> wrote:
Fix commitStyles crash on replaced+canceled animation
Running commitStyles on a canceled animation has no effect as the
animation has no effect values. However, a code path for committing
styles on a replaced animation assumed that the animation wasn't
canceled, as KeyframeEffect::ApplyEffects assumes a valid progress.This CL simply skips the calculation in the case where there is no
progress, making commitStyles effectively a NOP, as it ought to be in
this case.Bug: 571006760, 572653832
Change-Id: I47275237017a484e49675ab1ad334217714c22b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8564720
Commit-Queue: Claire Chambers \<clchambers@microsoft.com>
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1718190}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=104967
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 22 tests and 27 subtests
Status Summary
Firefox
OK : 1[GitHub] 20[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 33[GitHub] 155[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
CRASH: 1
Safari
OK : 1
PASS : 32
FAIL : 1
Links
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•