Closed Bug 1527487 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15344 - [Animation Worklet] Clean up animator registration logic for wpt test

Categories

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

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yi Gu <yigu@chromium.org> wrote:

[Animation Worklet] Clean up animator registration logic for wpt test

Similar to [1], we should register the animator only once in the setup
for test current-time.https.html.

Given that DocumentTimeline does not always move forward, this test
also replaces waitForNextFrame with waitForDocumentTimelineAdvance.

[1] https://cs.chromium.org/chromium/src/third_party/blink/web_tests/external/wpt/animation-worklet/scroll-timeline-writing-modes.https.html

Bug: 923881
Change-Id: Iabc6c7c1cea520e3dd81ed8a781cc072e2d8e20b
Reviewed-on: https://chromium-review.googlesource.com/c/1466145
Commit-Queue: Yi Gu \<yigu@chromium.org>
Reviewed-by: Majid Valipour \<majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631287}

Ran 1 tests
ERROR  : 1

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/animation-worklet/current-time.https.html: ERROR
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/07cdbdb2c608
[wpt PR 15344] - [Animation Worklet] Clean up animator registration logic for wpt test, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c746aaf82c65
[wpt PR 15344] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6aeb4c5cd8eb
[wpt PR 15344] - [Animation Worklet] Clean up animator registration logic for wpt test, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/edd5fd41dac0
[wpt PR 15344] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.