Closed Bug 1650776 Opened 5 years ago Closed 5 years ago

Introduce Debugger.Object.isError to check for error objects

Categories

(Core :: JavaScript Engine, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: anba, Assigned: evilpies)

References

Details

Attachments

(1 file)

devtools is currently relying on that all Error objects use "Error" as the class-name, see bug 1637078 comment #13. By introducing a separate Debugger.Object.isError function we can give Error objects a more descriptive class-name without breaking devtools detection.

Assignee: nobody → evilpies
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/989d249eab10 Introduce Debugger.Object.isError to check for error objects. r=tcampbell
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Blocks: 1651402
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: