Closed Bug 1307922 Opened 8 years ago Closed 8 years ago

Add support for console.dir()

Categories

(DevTools :: Console, enhancement, P1)

enhancement

Tracking

(firefox56 verified)

VERIFIED FIXED
Firefox 56
Iteration:
56.3 - Jul 24
Tracking Status
firefox56 --- verified

People

(Reporter: linclark, Assigned: nchevobbe)

References

Details

(Whiteboard: [console-html])

Attachments

(1 file)

Originally posted by:linclark see https://github.com/devtools-html/gecko-dev/issues/221 Tests: - [ ] browser_bug_862916_console_dir_and_filter_off.js - [ ] browser_webconsole_bug_659907_console_dir.js
Priority: -- → P2
Whiteboard: new-console
Assignee: nobody → chevobbe.nicolas
This shows an inline variable view with all the properties of the object passed as a parameter. Since we're gonna switch to object inspection, I wonder if we can wait till we have them (we would then "only" have to open the first level).
I think postponing this until we have object inspection makes sense.
No longer blocks: enable-new-console
Depends on: 1308566
Flags: qe-verify+
QA Contact: iulia.cristescu
Whiteboard: new-console → [new-console]
No longer depends on: 1308566
Whiteboard: [new-console] → [console-html]
Depends on: 1308566
Priority: P2 → P1
Status: NEW → ASSIGNED
Iteration: --- → 56.2 - Jul 10
Iteration: 56.2 - Jul 10 → 56.3 - Jul 24
My patch won't work until Bug 1308566 lands, but I think it is ready for review.
Blocks: 1379570
Comment on attachment 8885151 [details] Bug 1307922 - Add support for console.dir(); https://reviewboard.mozilla.org/r/156010/#review161240 The impl looks super simple! The only problem is the test, it fails for me (Win10) 26 INFO TEST-UNEXPECTED-FAIL | devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_dir.js | Uncaught exception - waitFor - threw exception: TypeError: node is undefined Honza
Attachment #8885151 - Flags: review?(odvarko)
(In reply to Jan Honza Odvarko [:Honza] from comment #5) > Comment on attachment 8885151 [details] > Bug 1307922 - Add support for console.dir(); > > The only problem is the test, it fails for me (Win10) It might be because this is built on top of the in-review Bug 1308566 patch, which isn't included here when you pull the patch. I'll rebase this patch when the OI patch lands and will ask for review again so you can check the test.
Comment on attachment 8885151 [details] Bug 1307922 - Add support for console.dir(); https://reviewboard.mozilla.org/r/156010/#review161578 I tried again on the latest m-c (UI landed) and the test works for me. Thanks for working on this! Honza
Attachment #8885151 - Flags: review+
Thanks Honza. I rebased and pushed to TRY, let's see if everything is okay.
I fixed the ESLint issues. Let's push this
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
I can confirm the bug is verified fixed on latest Nightly 56.0a1 (2017-07-17), using Windows 10 x64, Ubuntu 16.04 x64 and Mac OS X 10.11.6.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Depends on: 1380512
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: