RESOLVED FIXED 92340
Add a ChromeClient method to send message traces from WebCore to the client.
https://bugs.webkit.org/show_bug.cgi?id=92340
Summary Add a ChromeClient method to send message traces from WebCore to the client.
Jer Noble
Reported 2012-07-25 23:37:21 PDT
Add a ChromeClient method to send message traces from WebCore to the client.
Attachments
Patch (11.52 KB, patch)
2012-07-26 00:01 PDT, Jer Noble
no flags
Patch (19.25 KB, patch)
2012-07-26 00:08 PDT, Jer Noble
no flags
Patch (26.93 KB, patch)
2012-07-26 10:19 PDT, Jer Noble
andersca: review+
gyuyoung.kim: commit-queue-
Jer Noble
Comment 1 2012-07-26 00:01:30 PDT
Jer Noble
Comment 2 2012-07-26 00:08:45 PDT
Gyuyoung Kim
Comment 3 2012-07-26 00:30:39 PDT
Early Warning System Bot
Comment 4 2012-07-26 00:42:23 PDT
Mark Rowe (bdash)
Comment 5 2012-07-26 01:03:16 PDT
Comment on attachment 154558 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154558&action=review > Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp:779 > + if (!m_page->corePage()->settings()->messageTracingEnabled()) > + return; In your related patch you're always checking this condition before calling the function. Is it really necessary to perform the check again?
Jer Noble
Comment 6 2012-07-26 07:48:07 PDT
(In reply to comment #5) > (From update of attachment 154558 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=154558&action=review > > > Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp:779 > > + if (!m_page->corePage()->settings()->messageTracingEnabled()) > > + return; > > In your related patch you're always checking this condition before calling the function. Is it really necessary to perform the check again? I considered that, but wanted to protect against bad future selves who ignore the setting before calling traceMessage(). I'm open to pulling it out, or replacing it with an assert.
Jer Noble
Comment 7 2012-07-26 10:19:08 PDT
Created attachment 154681 [details] Patch Renamed things to refer to "diagnostic logging".
Gyuyoung Kim
Comment 8 2012-07-26 10:26:09 PDT
Early Warning System Bot
Comment 9 2012-07-26 10:29:03 PDT
Jer Noble
Comment 10 2012-07-26 11:46:10 PDT
Note You need to log in before you can comment on or make changes to this bug.