Closed Bug 1268779 Opened 9 years ago Closed 9 years ago

JSON array with single entry not viewable in Developer Edition

Categories

(DevTools :: JSON Viewer, defect)

48 Branch
All
Unspecified
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1263404

People

(Reporter: pjotrpansen, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160428082225 Steps to reproduce: Open https://maps.googleapis.com/maps/api/directions/json?origin=berlin&destination=stuttgart&departure_time=now&traffic_model=pessimistic&mode=driving in Firefox Developer Edition 48.0a2 Actual results: The routes array is not viewable, as are other arrays with only one entry. Expected results: The routes array should be accsessible like other arrays with multiple entries and the content should be viewable.
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: JSON Viewer
Ever confirmed: true
I can reproduce this issue on Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 with a clean or dirty profile.
Hardware: Unspecified → All
I found another test case for this bug: http://mf2.kylewm.com/?url=http%3A%2F%2Facegiak.net&parser=html5lib Result: top level "items" array is blank (literally shows nothing to the right of the "items" label) Expected: items array with one item. By clicking "Raw Data" you can see the items array in expanded pretty print form (because the site returns it that way). Reproduced on Nightly 49.0a1 (2016-05-03) / OSX 10.7.5.
I believe this is the same issue as bug 1263404, which is about to be fixed. Please reopen if I am incorrect!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.