Pretty-print is missing in network tab > xhr response (json)
Reported by
sam....@gmail.com,
May 4 2016
|
|||
Issue descriptionUserAgent: 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
,
May 4 2016
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)
,
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?
,
May 4 2016
So Canary introduced searching on the response tab, still see a huge value if I could pretty print that section.
,
May 4 2016
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!
,
May 4 2016
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!
,
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 |
|||
Comment 1 by addyo@chromium.org
, May 4 2016Labels: OS-Chrome OS-All
Status: Available (was: Unconfirmed)