Closed Bug 1639111 Opened 5 years ago Closed 5 years ago

Devtools actor errors using Components.exception show as unknownError

Categories

(DevTools :: General, task, P3)

task

Tracking

(firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(2 files)

Spotted while investigating Bug 1637687. The DevTools push-subscription actor was calling a getter which was throwing with

Components.Exception("", Cr.NS_ERROR_NOT_IMPLEMENTED);

and the only error visible in the client was unknownError from: server0.conn7.serviceWorkerRegistration37

We could improve this slightly, and maybe add the filename, linenumber, columnnumber to the error packet to improve this even further.

Summary: Devtools actor errors using Components.exception throw → Devtools actor errors using Components.exception show as unknownError
See Also: → 1637687
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55df4479027c Fallback on error.name in DevTools actor error handling r=davidwalsh,ochameau https://hg.mozilla.org/integration/autoland/rev/7ca3266213e7 Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/84be772b9ac4 Fallback on error.name in DevTools actor error handling r=davidwalsh,ochameau https://hg.mozilla.org/integration/autoland/rev/2964f445c2f5 Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8a1167da068 Fallback on error.name in DevTools actor error handling r=davidwalsh,ochameau https://hg.mozilla.org/integration/autoland/rev/0b15f53e5fc7 Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
Flags: needinfo?(jdescottes)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: