Open Bug 2026350 Opened 2 months ago Updated 2 months ago

Expand support for non-prior defined prefs

Categories

(Firefox for Android :: Experimentation and Telemetry, task)

All
Android
task

Tracking

()

People

(Reporter: olivia, Unassigned)

References

(Blocks 1 open bug)

Details

As of 03-25-2026,

If you attempt to set an undefined pref using the Nimbus - Fenix - Gecko preference experimenter setter, for example some.undefined.in.gecko.pref, then the experiment is rejected during preference setting and not enrolled. However, with the API it is possible to set arbirtary prefs and GeckoView supports this behavior.

Right now, we rely on the Gecko type of the pref to permit setting by retrieving information about it. Nimbus should provide the type and we be able to set arbitrary prefs given that information. See setGeckoPrefsState.

This bug or another bug should adjust the parsing so that we get correct real types.

Summary: Expand support for undefined prefs → Expand support for non-prior defined prefs

I did some testing and I think it is important to note, it appears the current system will pickup prefs defined in geckoview-prefs.js just fine. So it appears any defined pref will set as expected, not just StaticPrefList.yaml.

You need to log in before you can comment on or make changes to this bug.