Commit f6942003 authored by simon.fraser@apple.com's avatar simon.fraser@apple.com
Browse files

Improve WTR unresponsiveness output a little

https://bugs.webkit.org/show_bug.cgi?id=97370

Reviewed by Timothy Horton.

Distinguish between conditions that already set the errorMessage,
and unresponsiveness due to slow about:blank loads when WTR
reports unresponsiveness.

* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c0c25944
2012-09-21 Simon Fraser <simon.fraser@apple.com>
Improve WTR unresponsiveness output a little
https://bugs.webkit.org/show_bug.cgi?id=97370
Reviewed by Timothy Horton.
Distinguish between conditions that already set the errorMessage,
and unresponsiveness due to slow about:blank loads when WTR
reports unresponsiveness.
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):
2012-09-21 Chris Rogers <crogers@google.com>
 
Add Web Audio support for deprecated/legacy APIs
......@@ -198,8 +198,10 @@ end:
WKInspectorClose(WKPageGetInspector(TestController::shared().mainWebView()->page()));
#endif // ENABLE(INSPECTOR)
if (errorMessage || !TestController::shared().resetStateToConsistentValues())
if (errorMessage)
dumpWebProcessUnresponsiveness(errorMessage);
else if (!TestController::shared().resetStateToConsistentValues())
dumpWebProcessUnresponsiveness("Timed out loading about:blank before the next test");
}
void TestInvocation::dumpWebProcessUnresponsiveness(const char* textToStdout)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment