Open Bug 1420406 Opened 7 years ago Updated 2 years ago

allow extensions to open about:addons

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: cmcaine, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171027085204 Steps to reproduce: Allow extensions to open `about:addons` from the tabs API (and/or elsewhere). We don't need to send anchor or query strings. This bug is a requested leaf of 1269456. In that bug Boris said "Right. I strongly suspect allowing that particular string is not a problem." https://bugzilla.mozilla.org/show_bug.cgi?id=1269456#c40
Depends on: 1269456
Blocks: 1269456
No longer depends on: 1269456
Use case is addons that replace the Firefox UI want to be able to send users to the pages they ask for. (e.g. user types "open about:addons" in my commandline, I want to be able to send them to that URL). Add-ons affected: Tridactyl, Vimium, Vim-vixen, etc.
Flags: needinfo?(aswan)
Also affected: gesture add-ons, etc.
Note that the command to open the Add-ons Manager has some logic to focus the window and tab where it is already open if it's possible; it would be good that the API manages it too, instead of leaving it to be replicated manually by all add-on. (In reply to Colin Caine from comment #0) > We don't need to send anchor or query strings. Besides offering the action to open about:addons as a generic command, I want to see possible letting to open a specific pane of the Add-ons Manager too: theming-related webextensions could then offer an additional command "manage your themes" for the stuff that these add-ons can't manipulate directly; an add-on to help you to install language packs from archive.mozilla.org in pre-release builds would have a "Manage your language packs" command (my legacy Simple Locale Switcher add-on has it). The same for Dictionaries/Available Updates/Recent Updates.
There's foundational work that needs to happen first. See https://bugzilla.mozilla.org/show_bug.cgi?id=1269456#c54
Flags: needinfo?(aswan)
Priority: -- → P5
Product: Toolkit → WebExtensions
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.