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)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1190336
People
(Reporter: gabriel.micko, Unassigned, NeedInfo)
Details
Attachments
(1 file)
14.84 KB,
image/png
|
Details |
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.
Reporter | ||
Updated•10 years ago
|
OS: Unspecified → Windows 7
Reporter | ||
Comment 1•10 years ago
|
||
Anyway, it would be great to have opportunity to copy out the response msg.
Comment 3•9 years ago
|
||
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
Updated•9 years ago
|
Priority: -- → P2
Updated•9 years ago
|
Flags: needinfo?(gabriel.micko)
Reporter | ||
Comment 4•9 years ago
|
||
This has been solved, I guess! It was marked as a duplicate of #1190336.
Comment 5•9 years ago
|
||
Gabriel,
what part of the UI is on the screenshot?
Is it from the Net panel or Console panel?
Honza
Reporter | ||
Comment 6•9 years ago
|
||
It was taken from the Network panel.
Comment 7•9 years ago
|
||
Can you provide a simple test case? (link or attach HTML page)
I am not sure if this is dup of bug 1190336.
Honza
Reporter | ||
Comment 8•9 years ago
|
||
Cannot reproduce.
Comment 9•9 years ago
|
||
> 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
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•