Closed Bug 1973835 Opened 1 year ago Closed 1 year ago

expose 'browser.startup.page' in BrowserSettings API

Categories

(WebExtensions :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: teaschuldorf, Unassigned)

Details

There are many add-ons out there for tab management.

While some add-ons store and restore tabs manually across sessions and explicitly require Settings → General → Startup → “Open tabs from previous session” to be turned off, some others heavily rely on that feature to be turned on.

In both cases, the add-on must somehow instruct the user to change that setting manually, which can be pretty inconvenient for users.

It would therefore be nice to be able to modify 'browser.startup.page' via the BrowserSettings API.

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: WebExtensions → Firefox for Android
Product: Firefox for Android → WebExtensions

Allowing extensions to silently modify the browser.startup.page can result in unexpected dataloss to users, if an extension were to change it from 3 ("Open previous windows and tabs" checked) to 0 or 1. Similarly, if a user installs an extension that would set the value to 3, and the extensions is disabled or uninstalled, the extension-managed preference could be reverted and result in the same dataloss experience if a user has become accustomed to the restoration feature.

We prefer extensions to direct the user to the official preferences page to toggle these settings, if the extension really depends on a specific value for these.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.