Closed Bug 1541469 Opened 6 years ago Closed 6 years ago

Don't write default values to feature gate preferences

Categories

(Toolkit :: FeatureGate, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mythmon, Assigned: mythmon)

Details

Attachments

(1 file)

Current feature gates write their value to the associated preference on the default branch, even if there is another value present. This would cause feature gates to erase values put on the default branch by Normandy.

The real solution to this is for feature gates to have a alternative storage mechanism besides preference. That's far in the future though. In the meantime, not storing the default values in the feature gate's associated preference will improve compatibility.

Pushed by mcooper@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0489c7d0b8d1 Don't write default values to feature gate preferences r=mossop
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: