Closed Bug 1110813 Opened 11 years ago Closed 11 years ago

It's not possible to view or copy the plain text response from DevTools -> Network -> Response if the response is JSON

Categories

(DevTools :: Netmonitor, defect)

34 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 859138

People

(Reporter: casey.bessette, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 Iceweasel/34.0 Build ID: 20141203180037 Steps to reproduce: 1. View an AJAX request in the Network panel. 2. View the Response (this must be a JSON response). 3. Notice the JSON is parsed in a tree structure to view the response data more easily. 4. Try to copy the unparsed JSON response as plain text. Actual results: The unparsed JSON response it is nowhere to be found as plain text, so it cannot be copied. Expected results: It should be possible to view both the parsed JSON response conveniently (as is currently available) as well as the JSON response as plain text so it can be copied. See the description of the Reponse tab under "Network request details" at https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor It says: "The complete content of the response. If the response is HTML, JS, or CSS, it will be shown as text. If the response is JSON, it will be shown as an inspectable object." This works as described, but it should be possible to view/copy the actual response, too. What if I want to copy the response to paste and send to another developer to inspect? What if I want to view whether or not the response contains indentation and other whitespace and isn't properly "minified" to preserve bandwidth?
Component: Untriaged → Developer Tools: Netmonitor
I believe this duplicates Bug 1048705
Looks like a dupe of 859138
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.