Would be great if the WebConsole could logs WebSocket in/out messages. Not juste the http handshake/upgrade.
Since the websocket connections are persistent, I don't really see how that could look like. But being able to debug websockets would be awesome.
As I see it there would be logs for socket opening, message in, message out, socket close, socket error.
That can be very very noisy. And websockets use streams. There is not actual "message in" events. But being able to expand the current content of the stream as logs can be interesting. But I am not sure this should be part of the Console. Maybe it should be part of a Network-dedicated tool.
+1 for this bug. I am using socket.io in a project and the current devtools are of no help to understand what has been sent to the server. If other devs come in this bug, the workaround I have found is to go in about:config and set network.websocket.enable to false (this disable the feature browser-wise, so re-enable when you're done testing).
We need this, but can't get to it right now. Marking P3. Filter on GUNGNIR.
Whiteboard: [sudweb] → [sudweb][websocket]
Rob: WebSocket support should find it's way into the netmonitor as well, right? Should we track a netmonitor UI implementation in a separate bug?
(In reply to Jeff Griffiths (:canuckistani) from comment #6) > Rob: WebSocket support should find it's way into the netmonitor as well, > right? Should we track a netmonitor UI implementation in a separate bug? yes please.
Chrome do log websoket messages, but for me using Chrome is not a long term option. Maybe this will be one of the feature included in upcoming Browser for Devs #Fx10 ? This should definitively have a higher priority from a web developer perspective.
This needs to be evaluated, is this still valuable if we include WS data in network panel?
Should this linked to a netmonitor bug to show websockets messages in Netmonitor ? Or do we only want to have webSockets as a web extension ?
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #10) > Should this linked to a netmonitor bug to show websockets messages in > Netmonitor ? Or do we only want to have webSockets as a web extension ? This feature should be part of the new WebSocket Monitor extension. (it's already linked to WSInspectorMaster, bug 885508) Honza
We plan to create an API for WebExtension to consume WebSockets information. If this data is not directly visible in the netmonitor, I'd argue that we shouldn't show it in the WebConsole as well. I don't think this bug should be a blocker to Bug 885508, but the opposite.
You need to log in before you can comment on or make changes to this bug.