Feature gates shouldn't overwrite existing values on the default branch
Categories
(Toolkit :: FeatureGate, enhancement, P3)
Tracking
()
People
(Reporter: mythmon, Unassigned)
Details
Feature gates currently writes the built-in default of the pref to the default branch immediately on every startup. This could result in a race condition where it overrides other systems writing to the default branch, such as Normandy.
Feature gates should only write to the default branch if the preference doesn't already have a value.
Reporter | ||
Updated•6 years ago
|
Comment 1•5 years ago
|
||
mythmon, is this something you can pick back up?
Reporter | ||
Comment 2•5 years ago
|
||
Resetting back to unassigned, I'm not currently working on any feature gates tasks. I don't think I'll have time for this in the near future.
That being said, I don't believe this is still an issue. I'm not sure when it changed, but I don't see any code that sets preferences in the Feature Gate code: https://searchfox.org/mozilla-central/search?q=setBoolPref&case=false®exp=false&path=toolkit%2Fcomponents%2Ffeaturegates
Comment 3•5 years ago
|
||
Thanks, I also don't see anything that sets prefs (boolean or otherwise) so I'll close this bug as Invalid.
Description
•