Title: [271208] trunk/LayoutTests
- Revision
- 271208
- Author
- [email protected]
- Date
- 2021-01-06 12:02:59 -0800 (Wed, 06 Jan 2021)
Log Message
REGRESSION (2020-10-23): webanimations/accelerated-animation-with-easing.html is flaky on Mac Debug
https://bugs.webkit.org/show_bug.cgi?id=220187
<rdar://problem/72796329>
Reviewed by Dean Jackson.
Ensure there were two stable presentation updates prior to starting animations and two after that to ensure
they are visually running accelerated.
* platform/mac/TestExpectations:
* webanimations/accelerated-animation-with-easing.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (271207 => 271208)
--- trunk/LayoutTests/ChangeLog 2021-01-06 19:35:15 UTC (rev 271207)
+++ trunk/LayoutTests/ChangeLog 2021-01-06 20:02:59 UTC (rev 271208)
@@ -1,3 +1,17 @@
+2021-01-06 Antoine Quint <[email protected]>
+
+ REGRESSION (2020-10-23): webanimations/accelerated-animation-with-easing.html is flaky on Mac Debug
+ https://bugs.webkit.org/show_bug.cgi?id=220187
+ <rdar://problem/72796329>
+
+ Reviewed by Dean Jackson.
+
+ Ensure there were two stable presentation updates prior to starting animations and two after that to ensure
+ they are visually running accelerated.
+
+ * platform/mac/TestExpectations:
+ * webanimations/accelerated-animation-with-easing.html:
+
2021-01-06 Ryan Haddad <[email protected]>
Unreviewed, reverting r271165.
Modified: trunk/LayoutTests/platform/mac/TestExpectations (271207 => 271208)
--- trunk/LayoutTests/platform/mac/TestExpectations 2021-01-06 19:35:15 UTC (rev 271207)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2021-01-06 20:02:59 UTC (rev 271208)
@@ -1813,8 +1813,6 @@
webkit.org/b/208519 [ Catalina ] webanimations/accelerated-animation-slot-invalidation.html [ Pass ImageOnlyFailure ]
-webkit.org/b/220187 [ Debug ] webanimations/accelerated-animation-with-easing.html [ Pass ImageOnlyFailure ]
-
webkit.org/b/208722 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/seeking/seek-to-max-value.htm [ Pass Failure ]
webkit.org/b/208832 imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm [ Pass Failure ]
Modified: trunk/LayoutTests/webanimations/accelerated-animation-with-easing.html (271207 => 271208)
--- trunk/LayoutTests/webanimations/accelerated-animation-with-easing.html 2021-01-06 19:35:15 UTC (rev 271207)
+++ trunk/LayoutTests/webanimations/accelerated-animation-with-easing.html 2021-01-06 20:02:59 UTC (rev 271208)
@@ -26,6 +26,7 @@
<div id="easing-on-animation-two-keyframes"></div>
<div id="easing-on-animation-three-keyframes"></div>
<div id="easing-on-keyframe"></div>
+<script src=""
<script>
(async function() {
@@ -32,6 +33,9 @@
if (window.testRunner)
testRunner.waitUntilDone();
+ await UIHelper.ensureStablePresentationUpdate();
+ await UIHelper.ensureStablePresentationUpdate();
+
const animations = [];
animations.push(document.getElementById("easing-on-animation-one-keyframe").animate({ transform: "translateX(100px)" }, {
@@ -72,9 +76,8 @@
}));
await Promise.all(animations.map(animation => animation.ready));
- await new Promise(requestAnimationFrame);
- await new Promise(requestAnimationFrame);
- await new Promise(requestAnimationFrame);
+ await UIHelper.ensureStablePresentationUpdate();
+ await UIHelper.ensureStablePresentationUpdate();
if (window.testRunner)
testRunner.notifyDone();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes