Limit the payload rendered in the Preview panel
Categories
(DevTools :: Netmonitor, enhancement, P2)
Tracking
(firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: Honza, Assigned: tanhengyeow)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
WS frame payload displayed in the Preview panel should be limited the same way as we limit the response body rendered in the Response side panel
This pref is for response body limit
pref("devtools.netmonitor.responseBodyLimit", 1048576);
And we need similar for WS frame payload
pref("devtools.netmonitor.messageDataLimit", 1048576);
Honza
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Existing test pages for e.g. http://janodvarko.cz/test/websockets/ https://www.websocket.org/echo.html cut off payload size at around ~200KB and the WS connection is closed once a payload with a larger size is sent.
The pref for network response body limit is set to 1048576
(~1000KB) and we might not observe a payload of this size very often.
After discussing with Harald, we shall set the limit to 100KB first.
Assignee | ||
Comment 2•5 years ago
|
||
Limit the payload rendered in the Preview panel to 100 KB
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7dbe4c9716a7 Limit the payload rendered in the Preview panel. r=nchevobbe
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•