"Copy Response" truncates the response to 1MiB but does not indicate that the copied text is incomplete
Categories
(DevTools :: Netmonitor, defect, P3)
Tracking
(Not tracked)
People
(Reporter: mstange, Unassigned)
References
(Blocks 2 open bugs)
Details
What were you doing?
- Go to https://share.firefox.dev/3rSlxiK
- Open the network monitor.
- In the web page, click Profile Info -> Re-symbolicate profile
- Wait for the network requests to complete.
- Find the largest request to https://symbolication.services.mozilla.com/symbolicate/v5 .
- Right-click the row for that request and go Copy -> Copy Response
- Paste the response in a text editor.
What happened?
The pasted text was cut off after 1048576 characters.
What should have happened?
The pasted text should have been complete.
Alternatively, the fact that truncation happened should have been indicated to me somehow.
Comment 1•3 years ago
|
||
Thank you for the report, Markus!
Looks like you are hitting a limit for response bodies, which is defined by devtools.netmonitor.responseBodyLimit
preference and the default value is (not surprisingly) 1048576 bytes. You can set the pref to 0 to disable it.
Alternatively, the fact that truncation happened should have been indicated to me somehow.
Yes, I agree, there should be some kind of notification.
Any tips what we could do in the UI to inform the user?
Honza
Reporter | ||
Comment 2•3 years ago
|
||
Hmm, maybe the simplest thing to do would be to add a string to the copied text. Maybe "!! Response truncated !! <truncated response here>".
Updated•3 years ago
|
Description
•