⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185812 in webkit


Ignore:
Timestamp:
Jun 21, 2015, 9:44:41 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

fast/fixed-layout/fixed-layout.html times out on Apple WK2 bots

The Flakiness Dashboard says this test times out on Apple
WebKit2 platforms by not calling testRunner.notifyDone():

<http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Ffixed-layout%2Ffixed-layout.html>

  • fast/css-grid-layout/flex-content-sized-columns-resize.html:

Use the same mechanism here that was just added in r185811.

  • fast/fixed-layout/fixed-layout.html: Switch to using a

zero-delay timer instead of document.body.offsetTop.

Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r185811 r185812  
     12015-06-21  David Kilzer  <ddkilzer@apple.com>
     2
     3        fast/fixed-layout/fixed-layout.html times out on Apple WK2 bots
     4
     5        The Flakiness Dashboard says this test times out on Apple
     6        WebKit2 platforms by not calling testRunner.notifyDone():
     7
     8        <http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Ffixed-layout%2Ffixed-layout.html>
     9
     10        * fast/css-grid-layout/flex-content-sized-columns-resize.html:
     11        Use the same mechanism here that was just added in r185811.
     12        * fast/fixed-layout/fixed-layout.html: Switch to using a
     13        zero-delay timer instead of document.body.offsetTop.
     14
    1152015-06-21  David Kilzer  <ddkilzer@apple.com>
    216
  • trunk/LayoutTests/fast/css-grid-layout/flex-content-sized-columns-resize.html

    r185811 r185812  
    1919
    2020    // Prevent WebKit1 hangs by ensuring layout is up-to-date before resize.
    21     document.body.offsetTop;
    22 
    23     window.resizeTo(600, 600);
     21    setTimeout(function() { window.resizeTo(600, 600); }, 0);
    2422}
    2523
  • trunk/LayoutTests/fast/fixed-layout/fixed-layout.html

    r182339 r185812  
    77    }
    88
    9     // Ensure layout is up to date here so that we get a resize event instead of just using
    10     // 200x200 as the initial size, in WebKit1 (causing the test to hang).
    11     document.body.offsetTop;
     9    testRunner.waitUntilDone();
    1210
    13     testRunner.waitUntilDone();
    14     window.resizeTo(200, 200);
     11    // Prevent WebKit1 hangs by ensuring layout is up-to-date before resize.
     12    setTimeout(function() { window.resizeTo(200, 200); }, 0);
    1513}
    1614
    1715window.onresize = function () {
     16    if (!window.testRunner) {
     17        return;
     18    }
     19
    1820    internals.setUseFixedLayout(true);
    1921    internals.setFixedLayoutSize(400, 400);
Note: See TracChangeset for help on using the changeset viewer.