Closed
Bug 720176
(WSConsoleLogging)
Opened 13 years ago
Closed 6 years ago
WebConsole should be able to log WebSocket messages
Categories
(DevTools :: Console, enhancement, P4)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: sonny, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [sudweb][websocket])
Would be great if the WebConsole could logs WebSocket in/out messages. Not juste the http handshake/upgrade.
Comment 1•13 years ago
|
||
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.
Reporter | ||
Comment 2•13 years ago
|
||
As I see it there would be logs for socket opening, message in, message out, socket close, socket error.
Comment 3•13 years ago
|
||
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.
Comment 4•12 years ago
|
||
+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).
Updated•12 years ago
|
Whiteboard: [sudweb]
Updated•12 years ago
|
Priority: -- → P3
Comment 5•12 years ago
|
||
We need this, but can't get to it right now. Marking P3.
Filter on GUNGNIR.
Whiteboard: [sudweb] → [sudweb][websocket]
Comment 6•11 years ago
|
||
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?
Flags: needinfo?(rcampbell)
Comment 7•11 years ago
|
||
(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.
Flags: needinfo?(rcampbell)
Updated•11 years ago
|
Blocks: network-websocket-inspector
Comment 8•10 years ago
|
||
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.
Comment 9•9 years ago
|
||
This needs to be evaluated, is this still valuable if we include WS data in network panel?
Alias: WSConsoleLogging
Updated•7 years ago
|
Severity: normal → enhancement
Comment 10•7 years ago
|
||
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 ?
Flags: needinfo?(odvarko)
Comment 11•7 years ago
|
||
(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
Flags: needinfo?(odvarko)
Comment 12•7 years ago
|
||
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.
No longer blocks: network-websocket-inspector
Depends on: network-websocket-inspector
Priority: P3 → P4
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 13•6 years ago
|
||
Closing as we want a dedicated tool for webSockets, and not show messages in the console
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•