Closed Bug 2024744 Opened 1 month ago Closed 1 month ago

Assertion failure "animation->GetTimeline()->IsMonotonicallyIncreasing()" when setting timeline from the finite timeline to document timeline

Categories

(Core :: CSS Transitions and Animations, defect)

defect
Points:
1

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: boris, Assigned: boris)

References

(Blocks 1 open bug)

Details

(Whiteboard: [scrollanimation:mvp])

Attachments

(1 file)

We may hit this assertion:

Assertion failure: animation->GetTimeline() && !animation->GetTimeline()->IsMonotonicallyIncreasing(),

When setting the timeline of a pending paused animation from scroll timeline to document timeline. This happens because we forgot to remove this animation from the tracker (since it is not pending anymore).

This is necessary for scroll/view timeline animations because we have to
make sure they are not in the tracker when we try to trigger the pending
set.

Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Points: --- → 1
Whiteboard: [scrollanimation:mvp]
Pushed by bchiou@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1c2cc4a1d943 https://hg.mozilla.org/integration/autoland/rev/38fb39c7601b Remove the animation from the pending animation tracker when we cancel the pending task. r=firefox-style-system-reviewers,layout-scroll-driven-animation-reviewers,dshin
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: