From c99515c232afe5f580e4f785d821c5b0b217747d Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Thu, 24 Mar 2022 11:57:56 +0000 Subject: [PATCH] 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 Commit-Queue: David Baron Cr-Commit-Position: refs/heads/main@{#981818} -- wpt-commits: 7ead7ca3fb2e68edd504c7ef6a6e95e12672a0bd wpt-pr: 33207 --- testing/web-platform/tests/lint.ignore | 1 + .../crashtests/reparent-animating-element-002.html | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 testing/web-platform/tests/web-animations/crashtests/reparent-animating-element-002.html diff --git a/testing/web-platform/tests/lint.ignore b/testing/web-platform/tests/lint.ignore index bc320dcd71e4..f1d1c2b273ad 100644 --- a/testing/web-platform/tests/lint.ignore +++ b/testing/web-platform/tests/lint.ignore @@ -216,6 +216,7 @@ SET TIMEOUT: shadow-dom/slotchange-event.html SET TIMEOUT: trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html SET TIMEOUT: trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html SET TIMEOUT: user-timing/* +SET TIMEOUT: web-animations/crashtests/reparent-animating-element-002.html SET TIMEOUT: web-animations/timing-model/animations/* SET TIMEOUT: web-locks/crashtests/after-worker-termination.https.html SET TIMEOUT: webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html diff --git a/testing/web-platform/tests/web-animations/crashtests/reparent-animating-element-002.html b/testing/web-platform/tests/web-animations/crashtests/reparent-animating-element-002.html new file mode 100644 index 000000000000..0d3549fc33da --- /dev/null +++ b/testing/web-platform/tests/web-animations/crashtests/reparent-animating-element-002.html @@ -0,0 +1,44 @@ + + +CSS Test (Animations): Reparenting an element with a web animation on the compositor + + + + + + + +X +
+ -- 2.11.4.GIT