New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 609132 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 604829
Owner:
Last visit > 30 days ago
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Pretty-print is missing in network tab > xhr response (json)

Reported by sam....@gmail.com, May 4 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Steps to reproduce the problem:
1. Make a call to an endpoint that responds with json
2. open completed xhr response tab
3. view that results are a single line with the inability to pretty print the results.

What is the expected behavior?
The feature exists in other areas of dev tools

What went wrong?
it's not available.

Did this work before? No 

Chrome version: 50.0.2661.94  Channel: stable
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0

would love to see this
 

Comment 1 by addyo@chromium.org, May 4 2016

Cc: paulir...@chromium.org
Labels: OS-Chrome OS-All
Status: Available (was: Unconfirmed)
Components: Platform>DevTools>Network
Owner: allada@chromium.org
The Preview tab should have a very readable representation, even if the response tab doesn't. Is that right?

(Also try in canary as we've made some updates here)

Comment 3 by sam....@gmail.com, May 4 2016

Yes, the Preview Tab has a tree hierarchy representation which requires: 1.) clicking to take a deep dive into the tree 2.) isn't searchable 

I believe a pretty-print in response would be fast for quick look-overs...Imagine if the HTML pretty print similarly presented the dom in a tree hierarchy view?

Comment 4 by sam....@gmail.com, May 4 2016

So Canary introduced searching on the response tab, still see a huge value if I could pretty print that section. 
The JSON Preview View and XML Preview View should be searchable in the next week or two on Canary; the response tab was much easier to make searchable so I pushed it through first. I think when the patch hits it will solve this use case.

Please add yourself to this issue to get updates:  http://crbug.com/604829 

Thanks for your input!
Mergedinto: 604829
Status: Duplicate (was: Available)
Cool. Sounds like searching + preview pane will work out. Plus we'll merge these two panes so its less confusing.

I'll dupe this into 604829

thx for reporting, sam!

Comment 7 by sam....@gmail.com, May 4 2016

I hope that when these two panes are merged we aren't forced to click on the chevrons each time we want to dive into the contents of some json object in an xhr response. I would prefer a UI as plain text with pretty print, and popped open by default...with chevrons available to collapse contents when/if needed.

Sign in to add a comment