Closed Bug 1218766 Opened 10 years ago Closed 9 years ago

Response JSON parser shows Object if Array length is 1

Categories

(DevTools :: Netmonitor, defect, P2)

41 Branch
Unspecified
Windows 7
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1190336

People

(Reporter: gabriel.micko, Unassigned, NeedInfo)

Details

Attachments

(1 file)

Attached image rate bug.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20151014143721 Steps to reproduce: I was fetching data from a JSON endpoint. Windows 41.0.2 Actual results: 1. Dev tools. 2. Network tab. 3. Response. 4. Expanding JSON. 5. When the responded Arrays length is 1 it shows up as an Object with key 0. Expected results: 1. Dev tools. 2. Network tab. 3. Response. 4. Expanding JSON. 5. When the responded Arrays length is 1 it should be Array including 1 object.
OS: Unspecified → Windows 7
Anyway, it would be great to have opportunity to copy out the response msg.
Component: General → Developer Tools: Netmonitor
Duplicate of #1190336
I can't reproduce the problem on my machine. Can you please attach a simple test case (a HTML page) I could use? What part of the UI is on the screenshot? Is it from the Net panel or Console panel? I am not sure if this is dup of bug 1190336 at this point. Honza
Flags: needinfo?(gabriel.micko)
This has been solved, I guess! It was marked as a duplicate of #1190336.
Gabriel, what part of the UI is on the screenshot? Is it from the Net panel or Console panel? Honza
It was taken from the Network panel.
Can you provide a simple test case? (link or attach HTML page) I am not sure if this is dup of bug 1190336. Honza
Cannot reproduce.
> what part of the UI is on the screenshot? > Is it from the Net panel or Console panel? The reporter already said [Dev tools] > *[Network tab]* > [Response]. Is it insufficient? What information is needed to spot the UI? I can reproduce this bug with Firefox 47.0.1.
Status: UNCONFIRMED → 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.

Attachment

General

Creator:
Created:
Updated:
Size: