Title: [202115] trunk/LayoutTests
Revision
202115
Author
d...@apple.com
Date
2016-06-15 16:34:07 -0700 (Wed, 15 Jun 2016)

Log Message

[mac] LayoutTest transforms/undecomposable.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=158816

Unflakify this test by putting the script in a place that
will execute it before the load event (by which time the animation
may have started).

* transforms/undecomposable.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (202114 => 202115)


--- trunk/LayoutTests/ChangeLog	2016-06-15 23:07:42 UTC (rev 202114)
+++ trunk/LayoutTests/ChangeLog	2016-06-15 23:34:07 UTC (rev 202115)
@@ -1,3 +1,14 @@
+2016-06-15  Dean Jackson  <d...@apple.com>
+
+        [mac] LayoutTest transforms/undecomposable.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=158816
+
+        Unflakify this test by putting the script in a place that
+        will execute it before the load event (by which time the animation
+        may have started).
+
+        * transforms/undecomposable.html:
+
 2016-06-15  Simon Fraser  <simon.fra...@apple.com>
 
         [iOS WK2] Add tests for zooming to text fields on focus

Modified: trunk/LayoutTests/transforms/undecomposable.html (202114 => 202115)


--- trunk/LayoutTests/transforms/undecomposable.html	2016-06-15 23:07:42 UTC (rev 202114)
+++ trunk/LayoutTests/transforms/undecomposable.html	2016-06-15 23:34:07 UTC (rev 202115)
@@ -1,15 +1,3 @@
-<script>
-if (window.testRunner) {
-    window.testRunner.dumpAsText();
-    window.testRunner.waitUntilDone();
-
-    window.addEventListener("load", function () {
-        document.querySelector(".box").addEventListener("animationend", function () {
-            window.testRunner.notifyDone();
-        }, false);
-    }, false);
-}
-</script>
 <style>
 .box {
     width: 100px;
@@ -29,4 +17,13 @@
 }
 </style>
 <div class="box"></div>
+<script>
+if (window.testRunner) {
+    window.testRunner.dumpAsText();
+    window.testRunner.waitUntilDone();
+    document.querySelector(".box").addEventListener("animationend", function () {
+        window.testRunner.notifyDone();
+    }, false);
+}
+</script>
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to