Closed Bug 1197900 (WSProtocolParsers) Opened 9 years ago Closed 5 years ago

Protocol parsers for protocol upgraded websocket connections

Categories

(DevTools :: Netmonitor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 885508

People

(Reporter: akratel, Unassigned)

References

(Blocks 1 open bug)

Details

User Story

As a developer, i would like to be able to install an add-on that adds a protocol parser to the Mozilla websocket monitor so that I can display protocol specific information in the payload frames in the monitor, such as protocol control characters and payload and payload metadata. 

- Enlist community to write protocol specific parsers.
- Parsers help display payloads and payload metadata: for example, channel target of message, message content, etc

For example, for a websocket connection upgraded to socket.io, a protocol handler can be installed by a socket.io add-on to parse socket.IO specific traffic.

Protocol upgrade registration occurs during http WS handshake. A protocol identifier is passed. Please note that all protocol identifiers are necessarily registered with iana registration for websocket protocols: http://www.iana.org/assignments/websocket/websocket.xml

Please note bug 1197903 to be able to parse basic JSON and text payloads without protocol information. 

Blocks: 885508
Websocket tooling should be able to display protocol specific payloads for protocol upgraded websocket connections. 

For example, for a websocket connection upgraded to socket.io, a protocol handler can be installed by a socket.io add-on to parse socket.IO specific traffic. 

Protocol upgrade registration occurs during http WS handshake. A protocol identifier is passed. Please note that all protocol identifiers are necessarily registered with iana registration for websocket protocols: http://www.iana.org/assignments/websocket/websocket.xml

Blocks: 885508
User Story: (updated)
No longer depends on: WSGenericPayloadParsing
Alias: WSProtocolParsers
User Story: (updated)
Summary: Protocol handlers for protocol upgraded websocket connections → Protocol parsers for protocol upgraded websocket connections
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.