Provide standard API for addons to open their preferences in the same way the Add-ons Manager UI does

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
7 years ago
8 months ago

People

(Reporter: Unfocused, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Some addons add a menuitem/button to open their preferences. For the dialog-based preferences, it means getting the window.openDialog() options right (which depends on the platform). For inline preferences, it using Firefox's BrowserOpenAddonsMgr() (in browser.js, so not usable everywhere), or copying that entire function.

It'd be nice to have a proper API to do all that.
Depends on: 730127

Comment 1

8 months ago
WebExtensions have browser.runtime.openOptionsPage() for this.
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.