Title: [124598] trunk/Tools
Revision
124598
Author
[email protected]
Date
2012-08-03 05:08:33 -0700 (Fri, 03 Aug 2012)

Log Message

[WTR] process unresponsiveness is reported to the wrong test
https://bugs.webkit.org/show_bug.cgi?id=88404

Unreviewed buildfix. Also made the change on the array size
suggested on review because I forgot it when landed.

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

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (124597 => 124598)


--- trunk/Tools/ChangeLog	2012-08-03 11:53:53 UTC (rev 124597)
+++ trunk/Tools/ChangeLog	2012-08-03 12:08:33 UTC (rev 124598)
@@ -3,6 +3,17 @@
         [WTR] process unresponsiveness is reported to the wrong test
         https://bugs.webkit.org/show_bug.cgi?id=88404
 
+        Unreviewed buildfix. Also made the change on the array size
+        suggested on review because I forgot it when landed.
+
+        * WebKitTestRunner/TestInvocation.cpp:
+        (WTR::TestInvocation::invoke):
+
+2012-08-03  Balazs Kelemen  <[email protected]>
+
+        [WTR] process unresponsiveness is reported to the wrong test
+        https://bugs.webkit.org/show_bug.cgi?id=88404
+
         Reviewed by Zoltan Herczeg.
 
         Do resetting to consistent state after the finished test,

Modified: trunk/Tools/WebKitTestRunner/TestInvocation.cpp (124597 => 124598)


--- trunk/Tools/WebKitTestRunner/TestInvocation.cpp	2012-08-03 11:53:53 UTC (rev 124597)
+++ trunk/Tools/WebKitTestRunner/TestInvocation.cpp	2012-08-03 12:08:33 UTC (rev 124598)
@@ -200,9 +200,9 @@
 
     const char* errorMessageToStderr = 0;
 #if PLATFORM(MAC)
-    char buffer[256];
+    char buffer[64];
     if (!resetDone) {
-        pid_t pid = WKPageGetProcessIdentifier(m_mainWebView->page());
+        pid_t pid = WKPageGetProcessIdentifier(TestController::shared().mainWebView()->page());
         sprintf(buffer, "#PROCESS UNRESPONSIVE - WebProcess (pid %ld)\n", static_cast<long>(pid));
         errorMessageToStderr = buffer;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to