Open Bug 1940287 Opened 1 month ago Updated 12 days ago

Exception thrown from onMessage handlers aren't shown in DevTools

Categories

(WebExtensions :: Developer Tools, defect, P3)

defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Exception from code like this won't be logged in the console:

browser.runtime.onMessage.addListener(() => {
  throw new Error("onMessage exception");
});
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

The severity field is not set for this bug.
:willdurand, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(wdurand)
Blocks: 1943721
Severity: -- → S4
Flags: needinfo?(wdurand)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: