Open Bug 1824238 Opened 2 years ago Updated 2 years ago

Add explicit tests to make sure extension devtools panels open links in tabs rather than their own browsers

Categories

(WebExtensions :: Frontend, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: rpl, Unassigned)

References

Details

(Whiteboard: [addons-jira])

As part of the ongoing work on Bug 1822037 Gijs confirmed that only the sidebar extension panel was explicitly covered by an integration test (browser_ext_sidebarAction_click.js) that verifies this kind of expected behavior (which is basically the same expected for pinned tabs).

As mentioned in phabricator comments here, the other types of extension pages we should also cover with a similar test case are: devtools panel, devtools sidebar panel, options page and action popups.

Given that options and action popups are definitely more common than devtools panels and devtools sidebar panels, Gijs is already taking care of adding new test case for options page and action popups in Bug 1822037.

This bug is tracking adding similar coverage for the devtools panels.

An example of how we may be adding coverage for devtools panels and devtools sidebar panels is in the same phabricator comment linked above, but while finalizing those tests it would be better to use that testing strategy in a new test file or new test task, instead of rolling the addition into an existing test unrelated to this particular behavior.

You need to log in before you can comment on or make changes to this bug.