Bug 1760216 [wpt PR 33207] - Call RestartAnimationOnCompositor() whether or not perfo...
commitc99515c232afe5f580e4f785d821c5b0b217747d
authorL. David Baron <dbaron@chromium.org>
Thu, 24 Mar 2022 11:57:56 +0000 (24 11:57 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 26 Mar 2022 21:57:21 +0000 (26 21:57 +0000)
treee5062f35c3d5dbb35194e9a038ae0f2fca9207e8
parentb878b1e71301dd12ab8745ff57f3df22aa3c2a63
Bug 1760216 [wpt PR 33207] - Call RestartAnimationOnCompositor() whether or not performing_reattach is true., a=testonly

Automatic update from web-platform-tests
Call RestartAnimationOnCompositor() whether or not performing_reattach is true.

Even when performing_reattach is false, it's important to call
RestartAnimationOnCompositor so that effect_changed will be true, so
that if we restart the animation, the compositor gets the new element
ID.

Without this change, and with https://crrev.com/c/3498292, the added
test fails when run in virtual/threaded/.

Fixed: 1305487
Bug: 900241
Change-Id: I2fe8c92cd3b395ce8bf0e1b34f274ef56e553b82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3522511
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#981818}

--

wpt-commits: 7ead7ca3fb2e68edd504c7ef6a6e95e12672a0bd
wpt-pr: 33207
testing/web-platform/tests/lint.ignore
testing/web-platform/tests/web-animations/crashtests/reparent-animating-element-002.html [new file with mode: 0644]