Closed Bug 1535516 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15767 - Implemented handling inactive timelines for not composited worklet animations.

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15767 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15767
Details from upstream follow.

Olga Gerchikov <gerchiko@microsoft.com> wrote:

Implemented handling inactive timelines for not composited worklet animations.

Whenever start or current time is queried or calculated,
check if the timeline becomes newly active or inactive and cache the
last calculated current time.

  • When the timeline becomes newly inactive, make the start time
    unresolved and apply previous current time to the hold time.
  • When the timeline becomes newly active, calculate start time from
    the hold time if resolved and make the hold time unresolved.

Bug: 906050
Change-Id: I3cf8e45b9ab0edd13f3108d1a375e95409a0c1e7

Reviewed-on: https://chromium-review.googlesource.com/1512789
WPT-Export-Revision: 9936b1179782c6f9f8d0b2c7777e1600da7f322c

Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c37ed52dc11
[wpt PR 15767] - Handle inactive timelines for main-thread worklet animations., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c75ffd7c465
[wpt PR 15767] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3189d0fa8431
[wpt PR 15767] - Handle inactive timelines for main-thread worklet animations., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c369493f36a6
[wpt PR 15767] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.