Title: [231842] trunk/LayoutTests
Revision
231842
Author
grao...@webkit.org
Date
2018-05-16 06:09:37 -0700 (Wed, 16 May 2018)

Log Message

REGRESSION (r230574): Interrupted hardware transitions don't behave correctly
https://bugs.webkit.org/show_bug.cgi?id=185299

Unreviewed. Attempt to make this test more robust.

* transitions/interrupted-transition-hardware.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (231841 => 231842)


--- trunk/LayoutTests/ChangeLog	2018-05-16 08:38:10 UTC (rev 231841)
+++ trunk/LayoutTests/ChangeLog	2018-05-16 13:09:37 UTC (rev 231842)
@@ -2,6 +2,15 @@
 
         REGRESSION (r230574): Interrupted hardware transitions don't behave correctly
         https://bugs.webkit.org/show_bug.cgi?id=185299
+
+        Unreviewed. Attempt to make this test more robust.
+
+        * transitions/interrupted-transition-hardware.html:
+
+2018-05-16  Antoine Quint  <grao...@apple.com>
+
+        REGRESSION (r230574): Interrupted hardware transitions don't behave correctly
+        https://bugs.webkit.org/show_bug.cgi?id=185299
         <rdar://problem/39630230>
 
         Reviewed by Simon Fraser.

Modified: trunk/LayoutTests/transitions/interrupted-transition-hardware.html (231841 => 231842)


--- trunk/LayoutTests/transitions/interrupted-transition-hardware.html	2018-05-16 08:38:10 UTC (rev 231841)
+++ trunk/LayoutTests/transitions/interrupted-transition-hardware.html	2018-05-16 13:09:37 UTC (rev 231842)
@@ -42,16 +42,14 @@
 
         const test = document.getElementById("test");
 
-        requestAnimationFrame(() => {
+        setTimeout(() => {
             test.classList.add("transitions");
-            requestAnimationFrame(() => {
+            setTimeout(() => {
                 test.classList.remove("transitions");
-                requestAnimationFrame(() => {
-                    requestAnimationFrame(() => {
-                        if (window.testRunner)
-                            testRunner.notifyDone();
-                    });
-                });
+                setTimeout(() => {
+                    if (window.testRunner)
+                        testRunner.notifyDone();
+                }, 500);
             });
         });
         
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to