[Webkit-unassigned] [Bug 32165] WebSocket errors should be logged to console
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 8 14:11:27 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32165
--- Comment #5 from Alexey Proskuryakov <ap at webkit.org> 2009-12-08 14:11:27 PST ---
LOG(Network, "Error in sending handshake message.");
+#if ENABLE(INSPECTOR)
+ m_context->addMessage(InspectorControllerDestination, JSMessageSource,
LogMessageType, ErrorMessageLevel, "Error in sending handshake message.", 0,
m_handshake.clientOrigin());
+#endif
I don't think it's useful to keep logging the error with LOG - looks like we're
not doing this for e.g. XMLHttpRequest.
Someone working on Web Inspector should probably review this patch.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list