Changeset 85667 in webkit
- Timestamp:
- May 3, 2011 3:05:22 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r85665 r85667 1 2011-05-03 Luiz Agostini <luiz.agostini@openbossa.org> 2 3 Reviewed by NOBODY Kenneth Rohde Christiansen. 4 5 [Qt] Layout tests may timeout if loadFinished receives false 6 https://bugs.webkit.org/show_bug.cgi?id=60064 7 8 When using layoutTestController.queueLoad(), if QWebPage::loadFinished(bool) receives false 9 then the layout test may timout. It happens that QWebPage::loadFinished() receives false when 10 a response is ignored, like it should be for 204 responses. It is a problem for creating 11 tests for 204 responses for example. 12 13 This change has been tested and it causes no regressions in layout tests. 14 15 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 16 (LayoutTestController::maybeDump): 17 1 18 2011-05-03 Dirk Pranke <dpranke@chromium.org> 2 19 -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r84906 r85667 106 106 107 107 // Called on loadFinished on WebPage 108 void LayoutTestController::maybeDump(bool success)108 void LayoutTestController::maybeDump(bool /*success*/) 109 109 { 110 110 … … 132 132 QTimer::singleShot(0, this, SLOT(processWork())); 133 133 else if (!shouldWaitUntilDone()) { 134 if (success) 135 emit done(); 134 emit done(); 136 135 m_hasDumped = true; 137 136 }
Note: See TracChangeset
for help on using the changeset viewer.