Skip to content
  • allan.jensen@digia.com's avatar
    [Qt] Flaky security tests · e1157d08
    allan.jensen@digia.com authored
    https://bugs.webkit.org/show_bug.cgi?id=100388
    
    Reviewed by Jocelyn Turcotte.
    
    Tools:
    
    Disable text dumping and load a blank URL to ensure the documentLoader is cleared
    before we start dumping text for the new page. Otherwise messages from the old page
    may end up in the text output of the new test.
    
    This matches what WebKitTestRunner does, and reuses the Qt code for waiting for flag.
    
    * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
    (WebCore::DumpRenderTree::DumpRenderTree):
    (WebCore::runUntil):
    (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
    (WebCore::DumpRenderTree::finishedResetting):
    (WebCore::DumpRenderTree::dump):
    * DumpRenderTree/qt/DumpRenderTreeQt.h:
    (DumpRenderTree):
    * DumpRenderTree/qt/TestRunnerQt.cpp:
    (TestRunner::resetDumping):
    (TestRunner::reset):
    * DumpRenderTree/qt/TestRunnerQt.h:
    (TestRunner):
    
    LayoutTests:
    
    Unskip no longer flaky tests.
    
    * platform/qt/TestExpectations:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e1157d08