Open Bug 1780255 Opened 3 years ago Updated 3 years ago

After reloading an addon, the webextension toolbox navigates to the fallback window page

Categories

(DevTools :: about:debugging, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

See comment at https://phabricator.services.mozilla.com/D151728#4979486

Use a webextension with a simple background script.

STRs:

  • open about:debugging
  • load the extension as a temporary extension
  • notice that the webextension toolbox should be on the generated background page
  • in about:debugging, reload the temporary extension

ER: The webextension toolbox should be reloaded on the generated background page
AR: The toolbox displays the fallback page in the toolbar.

Technically this happens because when we reload the extension, we will load the fallback page on docshell destroy at https://searchfox.org/mozilla-central/rev/fa71140041c5401b80a11f099cc0cd0653295e2c/devtools/server/actors/targets/webextension.js#294

A suggestion is to preload the fallback window to avoid this, but this would lead to show this window in the iframe picker all the time.

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

For more information, please visit auto_nag documentation.

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