Bug 1859742 [wpt PR 42597] - Coarsen timestamp for rAF callback and web animations...
commit7a63e9d8df94f1d170420a677b70acfd9a658521
authorNoam Rosenthal <nrosenthal@chromium.org>
Wed, 1 Nov 2023 09:09:34 +0000 (1 09:09 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 6 Nov 2023 09:06:19 +0000 (6 09:06 +0000)
tree017e67f3c9f01ab60a40518ca84e194e6f02b5d4
parent3888491816c98761ed0315130db3bc4ae4cd947b
Bug 1859742 [wpt PR 42597] - Coarsen timestamp for rAF callback and web animations, a=testonly

Automatic update from web-platform-tests
Coarsen timestamp for rAF callback and web animations

The timestamps exposed by WAAPI and the requestAnimationFrame
callback should be coarsened if the page is cross-origin-isolated.

Using the same coarsening logic in both to ensure that the numbers
are exactly equal.

This has recently been merged into the HTML spec,
and matches Gecko/WebKit.

Bug: 1422926
Change-Id: I750012854d569ad86174bd4711670a2c6569a020
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4952594
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1214838}

--

wpt-commits: b561be3c42fa48f944c393582baa3a18a6c37841
wpt-pr: 42597
testing/web-platform/tests/hr-time/raf-coarsened-time.https.html [new file with mode: 0644]
testing/web-platform/tests/hr-time/raf-coarsened-time.https.html.headers [new file with mode: 0644]