[wpt-sync] Sync PR 63186 - Include all non-throttled controllers in active_controllers
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63186 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63186
Details from upstream follow.
Mustaq Ahmed <mustaq@google.com> wrote:
Include all non-throttled controllers in active_controllers
With EventTimingMatchingHTML disabled, UpdateAnimationsForDocument runs
before active_controllers is filtered by HasScheduledFrameTasks(), so
controllers with finishing animations are added to active_controllers
and any rAF callbacks scheduled in their animation event handlers
execute in Step 14 of the same frame.When EventTimingMatchingHTML moved UpdateAnimationsForDocument into Step
11, controllers with only active animations had HasScheduledFrameTasks()
== false before Step 6 and were excluded from active_controllers. Step
11 worked around this by using run_for_all_controllers_with_timing, but
Step 14 still used run_for_all_active_controllers_with_timing, deferring
rAF callbacks scheduled during Step 11 to the next frame.This CL fixes the deferred callback problem when EventTimingMatchingHTML
is enabled, aligning the new behavior with the disabled case and also
with the HTML spec's single docs list across Steps 6-14.Fixed: 563399635
Change-Id: If402c8aabf024c093eeb6c5bddd100420841aec8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8484104
Reviewed-by: Robert Flack \<flackr@chromium.org>
Commit-Queue: Mustaq Ahmed \<mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1709281}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99648
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 8 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 8[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: 1[GitHub] 9[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
OK : 1
FAIL: 1
Safari
OK : 1
PASS: 1
Description
•