Closed Bug 1936632 Opened 3 months ago Closed 19 hours ago

Use Nimbus Variable to enable (but not disable) Profiles

Categories

(Toolkit :: Startup and Profile System, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: jhirsch, Assigned: cmkm)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-profile-management])

Attachments

(1 file)

If Nimbus enables the feature by turning on the feature pref, then if Nimbus is disabled, or if the rollout ends, then users will be unenrolled from the Nimbus rollout, which means the pref will be reset to false, and users will lose their multiple profiles.

Instead, we want to use a Nimbus Variable to signal that the profiles feature should be enabled via pref flip, but if the Nimbus Variable ever is reset to false, we don't want to unset the pref. As sketched by brennie in Slack, we might do something like:

NimbusFeatures.multiprofile.onUpdate(() =>{
if (NimbusFeatures.multiprofile.getVariable("enable")) Services.prefs.setBoolPref("the.actual.pref" , true); })

We will need to coordinate with :emcminn on the name of the Nimbus Variable.

Whiteboard: [fidefe-profile-management]
Assignee: nobody → jhirsch
Status: NEW → ASSIGNED
Assignee: jhirsch → cmeador

Oops I thought I was tagged in this request >_< silly me. Please disregard this comment!

Attachment #9467783 - Attachment description: WIP: Bug 1936632 - Enable Profiles pref if enrolled in experiment r?jhirsch → Bug 1936632 - Enable Profiles pref if enrolled in experiment r?#profiles-reviewers,emcminn
Pushed by cmeador@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0efb392c178 Enable Profiles pref if enrolled in experiment r=emcminn,profiles-reviewers,mossop,jhirsch
Status: ASSIGNED → RESOLVED
Closed: 19 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: