Changeset 171167 in webkit
- Timestamp:
- Jul 16, 2014 7:26:41 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r171164 r171167 1 2014-07-16 Alexey Proskuryakov <ap@apple.com> 2 3 A test that hangs at cleanup stage confuses webkitpy hugely 4 https://bugs.webkit.org/show_bug.cgi?id=122475 5 <rdar://problem/17184354> 6 7 Reviewed by Anders Carlsson. 8 9 Reset m_pageLoadState when the process exits cleanly - otherwise messages from a 10 new process for the same WebPageProxy would hit assertions. 11 12 * UIProcess/WebPageProxy.cpp: 13 (WebKit::WebPageProxy::processDidCrash): 14 (WebKit::WebPageProxy::resetStateAfterProcessExited): 15 1 16 2014-07-16 David Kilzer <ddkilzer@apple.com> 2 17 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r171154 r171167 4276 4276 resetStateAfterProcessExited(); 4277 4277 4278 // FIXME: Should we do this when the process exits cleanly, instead of just upon crashing?4279 auto transaction = m_pageLoadState.transaction();4280 m_pageLoadState.reset(transaction);4281 4282 4278 m_loaderClient->processDidCrash(this); 4283 4279 } … … 4434 4430 m_pageClient.dismissDictionaryLookupPanel(); 4435 4431 #endif 4432 4433 auto transaction = m_pageLoadState.transaction(); 4434 m_pageLoadState.reset(transaction); 4436 4435 } 4437 4436 -
trunk/Tools/ChangeLog
r171142 r171167 1 2014-07-16 Alexey Proskuryakov <ap@apple.com> 2 3 A test that hangs at cleanup stage confuses webkitpy hugely 4 https://bugs.webkit.org/show_bug.cgi?id=122475 5 <rdar://problem/17184354> 6 7 Reviewed by Anders Carlsson. 8 9 Terminate WebContent process if it freezes between tests. Ideally, we should report 10 this somehow, but this is better than blaming the wrong test. 11 12 * WebKitTestRunner/TestController.cpp: 13 (WTR::TestController::terminateWebContentProcess): 14 * WebKitTestRunner/TestController.h: 15 * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke): 16 1 17 2014-07-16 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 18 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r171072 r171167 669 669 } 670 670 671 void TestController::terminateWebContentProcess() 672 { 673 WKPageTerminate(m_mainWebView->page()); 674 } 671 675 672 676 void TestController::updateWebViewSizeForTest(const TestInvocation& test) -
trunk/Tools/WebKitTestRunner/TestController.h
r169845 r171167 98 98 void resetPreferencesToConsistentValues(); 99 99 100 void terminateWebContentProcess(); 101 100 102 WorkQueueManager& workQueueManager() { return m_workQueueManager; } 101 103 -
trunk/Tools/WebKitTestRunner/TestInvocation.cpp
r169845 r171167 203 203 dumpWebProcessUnresponsiveness(); 204 204 else if (!TestController::shared().resetStateToConsistentValues()) { 205 m_errorMessage = "Timed out loading about:blank before the next test"; 206 dumpWebProcessUnresponsiveness(); 205 // The process froze while loading about:blank, let's start a fresh one. 206 // It would be nice to report that the previous test froze after dumping results, but we have no way to do that. 207 TestController::shared().terminateWebContentProcess(); 208 TestController::shared().resetStateToConsistentValues(); 207 209 } 208 210 }
Note: See TracChangeset
for help on using the changeset viewer.