Closed Bug 886157 Opened 11 years ago Closed 11 years ago

Console shows [object Array] instead of the array

Categories

(DevTools :: Console, defect, P2)

24 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: obrufau, Assigned: msucan)

References

Details

(Whiteboard: [fixed by bug 843004])

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20130623 Firefox/24.0 (Nightly/Aurora)
Build ID: 20130623031022

Steps to reproduce:

Open the console
Enter an array like `[1,2,3]`


Actual results:

The console shows `[object Array]`


Expected results:

It should show `[1,2,3]`, like it does on Firefox stable 21.
Of course, I can click `[object Array]` to see the array, but `[1,2,3]` is more readable and can be clicked too in case the array is too big to be readable.
I guess it has appeared after bug 783499.
Component: Untriaged → Developer Tools: Console
Status: UNCONFIRMED → NEW
Depends on: console-output
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Depends on: 843004
Priority: -- → P2
Assignee: nobody → mihai.sucan
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 843004]
Target Milestone: --- → Firefox 29
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.