Open Bug 1646037 Opened 6 years ago Updated 6 years ago

Optimize websocket payload parser for SSE

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: farooqbckk, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Websocket payload parser parses the payload for protocols such as socketIO, signalR etc. Since these protocols are not needed in case of SSE, we could avoid using their parsers. We only need the parser for a JSON payload in case of SSE.

https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/components/messages/MessagePayload.js#113

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.