Open Bug 1940081 Opened 1 month ago Updated 6 days ago

Content script errors are shown in extension toolbox with "undefined" source name

Categories

(WebExtensions :: Developer Tools, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

In theory, today, content scripts should only be visible in the Tab DevTools, where the content script is executing.
Not in the extension DevTools (opened from about:debugging).

We may either ensure we are not showing these errors, or show everything about the content scripts:

  • show them as targets (in console context selector, threads list in the debugger)
  • show theirs sources in the debugger sources tree
  • show all console message and errors in the console (instead of only exception)

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)
Severity: -- → S4
Priority: -- → P3
Flags: needinfo?(wdurand)
You need to log in before you can comment on or make changes to this bug.