Closed Bug 1702728 Opened 4 years ago Closed 2 months ago

ContextSelector doesn't show Webextension Scripts

Categories

(DevTools :: Console, defect, P3)

Firefox 89
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1413872

People

(Reporter: nerixdev, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

Add an extension that adds content-scripts which have their own environment.

Now the content script has access to the DOM but not the JS that's loaded.

Opening the console, you can't access the variables etc. defined by the script, so the context needs to be changed.

Actual results:

Selecting the context with the new context switch doesn't list the extension.

Expected results:

The switch should list the extension.

I'm not sure if this can be supported but if it could this would make debugging a lot easier.

The Bugbug bot thinks this bug should belong to the 'DevTools::Console' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Console
Product: Firefox → DevTools

Thanks for the report. We're planning to finish the work on the context selector during the year so we can enable it on every platform.

Severity: -- → S3
Priority: -- → P3
Summary: Switch Console Context to Content Script → ContextSelector doesn't show Webextension Scripts
Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1413872
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.