Title: [233352] trunk/LayoutTests
Revision
233352
Author
grao...@webkit.org
Date
2018-06-29 05:35:51 -0700 (Fri, 29 Jun 2018)

Log Message

Layout Test compositing/animation/layer-for-filling-animation.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=187163

Unreviewed.

This test needed to be modified to account for the pending state being updated at a different time,
so we just wait a frame to ensure the animation is ended. See r233325.

* compositing/animation/layer-for-filling-animation.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (233351 => 233352)


--- trunk/LayoutTests/ChangeLog	2018-06-29 12:34:04 UTC (rev 233351)
+++ trunk/LayoutTests/ChangeLog	2018-06-29 12:35:51 UTC (rev 233352)
@@ -1,5 +1,17 @@
 2018-06-29  Antoine Quint  <grao...@apple.com>
 
+        Layout Test compositing/animation/layer-for-filling-animation.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=187163
+
+        Unreviewed.
+
+        This test needed to be modified to account for the pending state being updated at a different time,
+        so we just wait a frame to ensure the animation is ended. See r233325.
+
+        * compositing/animation/layer-for-filling-animation.html:
+
+2018-06-29  Antoine Quint  <grao...@apple.com>
+
         [mac][wk2] REGRESSION (Tiled Drawing): Some css3/ tests fail with fringing around tiled background-images that intersect tile boundaries
         https://bugs.webkit.org/show_bug.cgi?id=122235
 

Modified: trunk/LayoutTests/compositing/animation/layer-for-filling-animation.html (233351 => 233352)


--- trunk/LayoutTests/compositing/animation/layer-for-filling-animation.html	2018-06-29 12:34:04 UTC (rev 233351)
+++ trunk/LayoutTests/compositing/animation/layer-for-filling-animation.html	2018-06-29 12:35:51 UTC (rev 233352)
@@ -30,10 +30,12 @@
         function doTest()
         {
             document.getElementById('box').addEventListener('webkitAnimationEnd', function() {
-                if (window.testRunner) {
-                    document.getElementById('results').innerText = window.internals.layerTreeAsText(document);
-                    testRunner.notifyDone();
-                }
+                requestAnimationFrame(() => {
+                    if (window.testRunner) {
+                        document.getElementById('results').innerText = window.internals.layerTreeAsText(document);
+                        testRunner.notifyDone();
+                    }
+                });
             })
         }
         window.addEventListener('load', doTest, false);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to