Note: There are a few cases of duplicates in user autocompletion which are being worked on.

`console.log({foo:bar})` outputs nothing in GCLI console

RESOLVED FIXED in Firefox 15

Status

()

Firefox
Developer Tools: Console
P2
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: sdwilsh, Unassigned)

Tracking

Trunk
Firefox 15
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
[17:17:44.328] {console.log({foo:"bar"});
[16:00:00.000] undefined

Objects don't get printed to the console at all :(
I've got a bunch of changes waiting in review which might fix this. And it also looks related to (if not a dup of) bug 676722.
Summary: `console.log({foo:bar})` outputs nothing in the console → `console.log({foo:bar})` outputs nothing in GCLI console
Priority: -- → P2

Comment 2

6 years ago
We'll have to makes sure object inspection works for inline/anonymous object such as in console.log({foo:'bar'}).
Depends on: 660197
OS: Mac OS X → All
Hardware: x86 → All
(Reporter)

Comment 3

6 years ago
I was seeing this with non-inline objects too.
GCLI Triage.
Fixed with the closing of bug 720641
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
You need to log in before you can comment on or make changes to this bug.