Remove WebConsoleUI setSaveRequestAndResponseBodies
Categories
(DevTools :: Console, task, P2)
Tracking
(Not tracked)
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 file)
The function is used to disable saving network calls response bodies for the browser console, claiming that it's not possible to display the response in the browser console.
But this is false, we do show requests like in the webconsole and you can expand them to inspect the response.
Assignee | ||
Comment 1•5 years ago
|
||
Honza, should we remove the "devtools.netmonitor.saveRequestAndResponseBodies"
pref as well? It's only used from the console https://searchfox.org/mozilla-central/search?q=devtools.netmonitor.saveRequestAndResponseBodies&case=true&path=
Comment 2•5 years ago
|
||
Yes, I think we should remove it. I tested this and I see no reason to keep the pref.
Honza
Assignee | ||
Comment 3•5 years ago
|
||
We were assuming that the BrowserConsole couldn't display a Response
body for a given network call, but we actually can.
This is probably an old limitation we don't have anymore, so we can
remove the setSaveRequestAndResponseBodies and the associated piece
of code on the WebConsole actor.
We take this as an opportunity to remove the devtools.netmonitor.saveRequestAndResponseBodies
preference, that was only checked in the webconsole.
Updated•2 years ago
|
Description
•