Closed Bug 1628698 Opened 4 years ago Closed 4 years ago

Calling console.dir with an error object should expand it like a regular object

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(firefox77 verified)

VERIFIED FIXED
Firefox 77
Tracking Status
firefox77 --- verified

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce

  1. Open the console and evaluate console.dir(new Error())

Expected results

I can inspect the properties of the error object

Actual results

I only see the message and the stacktrace

 Error: ""
    <anonymous> debugger eval code:1
Attachment #9139496 - Attachment description: Bug 1628698 - Expand Error object when logged with console.dir . r=bomsy. → Bug 1628698 - Expand Error object when logged with console.dir. r=bomsy.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a953de8320a8
Expand Error object when logged with console.dir. r=bomsy.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
QA Whiteboard: [qa-77b-p2]

Confirmed issue with 77.0a1(20200409095500) on macOS 10.15.3.
Fix verified with 77.0 on Windows 10, macOS 10.15.3, Ubuntu 20 error info listed.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: