Closed
Bug 1243802
Opened 9 years ago
Closed 7 years ago
Console objects should be expandable directly in the output panel, without needing to open the VariablesView on the side
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: bgrins, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [console-rewrite-fix])
Right now, when you run:
console.log({a: 1, b: 2});
You'll see a preview of the object inline, and then if you click on the object it will open the Variables View to the right. We should be able to expand the object directly in the console instead of needing to open the panel on the right.
Comment 1•9 years ago
|
||
Cool, I am happy to work on this. It'll be perfect fit to what I've done for the JSON Viewer and XHR Console inspector!
Honza
Updated•9 years ago
|
Assignee: nobody → odvarko
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•9 years ago
|
Comment 3•9 years ago
|
||
I am not working on this now so, removing me from the assigned to field.
Honza
Assignee: odvarko → nobody
Comment 4•9 years ago
|
||
Be sure to handle cases with multiple and big objects and arrays like the following ones properly:
console.log({a: 1}, {b: 2}, {c: 3}, {d: 4}, {e: 5}, {f: 6}, {g: 7}, {h: 8}, {i: 9}, {j: 10}, {k: 11}, {l: 12});
console.log({a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7, h: 8, i: 9, j: 10});
console.log(
{a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7, h: 8, i: 9, j: 10, k: 11, l: 12, m: 13, n: 14, o: 15},
{p: 16, q: 17, r: 18, s: 19, t: 20, u: 21, v: 22, w: 23, x: 24, y: 25, z: 26}
);
Each individual item needs to be expandable, objects and arrays with many items should be clipped like now.
When expanding an object, there should be a note that the items shown in the logged message may differ from the ones shown in the expanded list due to being evaluated on expansion.
Sebastian
Reporter | ||
Updated•8 years ago
|
Whiteboard: [console-rewrite-fix]
Reporter | ||
Updated•8 years ago
|
Comment 5•7 years ago
|
||
Done in Bug 1308566
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•