Create a Nimbus feature for session restore with variable for controlling whether the session restore is ON by default
Categories
(Firefox :: Session Restore, enhancement, P1)
Tracking
()
People
(Reporter: asafko, Assigned: sfoster)
References
Details
(Whiteboard: [fidefe-sidebar])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
We want to experiment with offering session restore being ON by default for new users.
The Nimbus feature could be:
sessionRestore
description: A feature that controls the default state of the session restore.
And the variable could be:
sessionRestoreEnabled
type: boolean
setPref:
branch: user
pref: unsure if there's an existing pref
description: True if the session restore is ON ("Open previous windows and tabs" in about:preferences).
The variable should persist after the experiment it is used in has ended.
Updated•8 months ago
|
Updated•6 months ago
|
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
The pref to control this behavior is browser.startup.page. It has a few possible integer values:
- 0: blank (start with only a blank tab)
- 1: home (load whatever the value of
browser.startup.homepage) is in a tab. This is the default value. - 2: load last visited page
- 3: resume previous browser session.
This same pref has UI in about:preferences as the "Open previous windows and tabs" checkbox. Checking the box sets the pref to 3. Un-checking resets it to 1.
The population we want to target is when the user has not set browser.startup.page (i.e. matches preferenceIsUserSet) and its value is the default value of 1. But, if the user gets enrolled in the experiment and uses about:config or the preferences UI to revert the pref, we need a way to unenroll them from the experiment. Using the preferenceIsUserSet filter expression should prevent re-enrolling them at that point.
| Assignee | ||
Comment 2•6 months ago
|
||
Updated•6 months ago
|
Comment 4•5 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•5 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D257305
Updated•5 months ago
|
Comment 6•5 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: (none) Planned experiment in 142 will not be possible
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: None
- Risk associated with taking this patch: Low
- Explanation of risk level: The patch just adds a new nimbus feature and variable
- String changes made/needed: None
- Is Android affected?: no
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Description
•