Title: [185811] trunk/LayoutTests
Revision
185811
Author
[email protected]
Date
2015-06-21 09:16:05 -0700 (Sun, 21 Jun 2015)

Log Message

REGRESSION (r185809): fast/css-grid-layout/flex-content-sized-columns-resize.html hangs on WK1

Since window.resize() occurs in the same runloop as the load on
WK1, testRunner.notifyDone() would never get called.

* fast/css-grid-layout/flex-content-sized-columns-resize.html:
Call document.body.offsetTop to ensure layout occurs at the
initial window size before calling window.resize().

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (185810 => 185811)


--- trunk/LayoutTests/ChangeLog	2015-06-21 16:01:51 UTC (rev 185810)
+++ trunk/LayoutTests/ChangeLog	2015-06-21 16:16:05 UTC (rev 185811)
@@ -1,5 +1,16 @@
 2015-06-21  David Kilzer  <[email protected]>
 
+        REGRESSION (r185809): fast/css-grid-layout/flex-content-sized-columns-resize.html hangs on WK1
+
+        Since window.resize() occurs in the same runloop as the load on
+        WK1, testRunner.notifyDone() would never get called.
+
+        * fast/css-grid-layout/flex-content-sized-columns-resize.html:
+        Call document.body.offsetTop to ensure layout occurs at the
+        initial window size before calling window.resize().
+
+2015-06-21  David Kilzer  <[email protected]>
+
         fast/css-grid-layout/flex-content-sized-columns-resize.html is flaky
 
         The Flakiness Dashboard says this test is flaky on Apple and EFL

Modified: trunk/LayoutTests/fast/css-grid-layout/flex-content-sized-columns-resize.html (185810 => 185811)


--- trunk/LayoutTests/fast/css-grid-layout/flex-content-sized-columns-resize.html	2015-06-21 16:01:51 UTC (rev 185810)
+++ trunk/LayoutTests/fast/css-grid-layout/flex-content-sized-columns-resize.html	2015-06-21 16:16:05 UTC (rev 185811)
@@ -16,6 +16,10 @@
     if (window.testRunner) {
         testRunner.waitUntilDone();
     }
+
+    // Prevent WebKit1 hangs by ensuring layout is up-to-date before resize.
+    document.body.offsetTop;
+
     window.resizeTo(600, 600);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to