Changeset 177598 in webkit


Ignore:
Timestamp:
Dec 19, 2014, 3:25:46 PM (10 years ago)
Author:
ap@apple.com
Message:

REGRESSION (177368): Some tests started to immediately time out
https://bugs.webkit.org/show_bug.cgi?id=139826

Reviewed by Daniel Bates.

Tools:

  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::done):
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::dump):

Move invalidateWaitToDumpWatchdogTimer() call from dump() to done(). When a test
ends in a load failure, we don't dump, so we used to leak the timer.

  • WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::notifyDone):

Added a comment.

LayoutTests:

  • platform/wk2/TestExpectations: The culprit was this test that I unskipped to see

whether it passes. It in fact does pass, so let's remove the expectation entirely.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r177592 r177598  
     12014-12-19  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (177368): Some tests started to immediately time out
     4        https://bugs.webkit.org/show_bug.cgi?id=139826
     5
     6        Reviewed by Daniel Bates.
     7
     8        * platform/wk2/TestExpectations: The culprit was this test that I unskipped to see
     9        whether it passes. It in fact does pass, so let's remove the expectation entirely.
     10
    1112014-12-19  Brent Fulgham  <bfulgham@apple.com>
    212
  • trunk/LayoutTests/platform/wk2/TestExpectations

    r177368 r177598  
    7676webkit.org/b/82665 webarchive/test-css-url-resources-in-stylesheets.html [ Skip ]
    7777webkit.org/b/82665 webarchive/test-css-url-resources-inline-styles.html [ Skip ]
    78 
    79 # This test has been skipped for a long time. Temporarily marking as flaky to see what bots think.
    80 webkit.org/b/96741 fast/loader/recursive-before-unload-crash.html [ Pass Failure ]
    8178
    8279# WebKitTestRunner needs textInputController
  • trunk/Tools/ChangeLog

    r177579 r177598  
     12014-12-19  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (177368): Some tests started to immediately time out
     4        https://bugs.webkit.org/show_bug.cgi?id=139826
     5
     6        Reviewed by Daniel Bates.
     7
     8        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::done):
     9        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::dump):
     10        Move invalidateWaitToDumpWatchdogTimer() call from dump() to done(). When a test
     11        ends in a load failure, we don't dump, so we used to leak the timer.
     12       
     13        * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::notifyDone):
     14        Added a comment.
     15
    1162014-12-19  Brent Fulgham  <bfulgham@apple.com>
    217
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp

    r177471 r177598  
    290290    setTopLoadingFrame(0);
    291291
     292    m_testRunner->invalidateWaitToDumpWatchdogTimer();
     293
    292294    m_accessibilityController->resetToConsistentState();
    293295
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp

    r176677 r177598  
    837837    ASSERT(InjectedBundle::shared().isTestRunning());
    838838
    839     InjectedBundle::shared().testRunner()->invalidateWaitToDumpWatchdogTimer();
    840 
    841839    // Force a paint before dumping. This matches DumpRenderTree on Windows. (DumpRenderTree on Mac
    842840    // does this at a slightly different time.) See <http://webkit.org/b/55469> for details.
  • trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp

    r177363 r177598  
    161161        InjectedBundle::shared().page()->dump();
    162162
     163    // We don't call invalidateWaitToDumpWatchdogTimer() here, even if we continue to wait for a load to finish.
     164    // The test is still subject to timeout checking - it is better to detect an async timeout inside WebKitTestRunner
     165    // than to let webkitpy do that, because WebKitTestRunner will dump partial results.
     166
    163167    m_waitToDump = false;
    164168}
Note: See TracChangeset for help on using the changeset viewer.