Closed Bug 1565226 Opened 5 years ago Closed 5 years ago

Limit the payload rendered in the Preview panel

Categories

(DevTools :: Netmonitor, enhancement, P2)

enhancement

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
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);

https://searchfox.org/mozilla-central/rev/f372470e10c8cb0691681603a1d6324dee5b3b8a/devtools/shared/preferences/devtools-shared.js#45

And we need similar for WS frame payload
pref("devtools.netmonitor.messageDataLimit", 1048576);

Honza

Priority: P3 → P2

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.

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
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Assignee: nobody → E0032242
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: