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

Changeset 185809 in webkit


Ignore:
Timestamp:
Jun 21, 2015, 8:57:04 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

fast/css-grid-layout/flex-content-sized-columns-resize.html is flaky

The Flakiness Dashboard says this test is flaky on Apple and EFL
WebKit2 platforms:

<http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fcss-grid-layout%2Fflex-content-sized-columns-resize.html>

It currently doesn't wait for window.resize() to complete, which
is likely the source of flakiness.

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

Switch to using notifyDone() inside a window.onresize function,
and make the test work in a web browser without TestRunner.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r185798 r185809  
     12015-06-21  David Kilzer  <ddkilzer@apple.com>
     2
     3        fast/css-grid-layout/flex-content-sized-columns-resize.html is flaky
     4
     5        The Flakiness Dashboard says this test is flaky on Apple and EFL
     6        WebKit2 platforms:
     7
     8        <http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fcss-grid-layout%2Fflex-content-sized-columns-resize.html>
     9
     10        It currently doesn't wait for window.resize() to complete, which
     11        is likely the source of flakiness.
     12
     13        * fast/css-grid-layout/flex-content-sized-columns-resize.html:
     14        Switch to using notifyDone() inside a window.onresize function,
     15        and make the test work in a web browser without TestRunner.
     16
    1172015-06-20  David Kilzer  <ddkilzer@apple.com>
    218
  • trunk/LayoutTests/fast/css-grid-layout/flex-content-sized-columns-resize.html

    r168416 r185809  
    1313</style>
    1414<script>
    15 function runTest() {
     15window.onload = function () {
    1616    if (window.testRunner) {
    17         window.resizeTo(600, 600);
     17        testRunner.waitUntilDone();
     18    }
     19    window.resizeTo(600, 600);
     20}
     21
     22window.onresize = function () {
     23    if (window.testRunner) {
     24        testRunner.notifyDone();
    1825    }
    1926}
    2027</script>
    2128</head>
    22 <body onLoad="runTest();">
     29<body>
    2330    <h1>Description</h1>
    2431    <p>Grid flex and content sized columns width should be updated properly when you resize the window (you should not see the grid background in grey color).</p>
Note: See TracChangeset for help on using the changeset viewer.