For Gecko Preference Experiments, the `default:` FML stanza should cause an error on Android
Categories
(Application Services :: Nimbus SDK, task)
Tracking
(Not tracked)
People
(Reporter: olivia, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][nimbus])
Attachments
(1 file)
Right now, default: is a valid Gecko preference experiment stanza in Android, e.g.:
gecko-nimbus-validation:
description: "Feature for validating Nimbus Gecko functionality"
variables:
test-preference:
description: "A test gecko preference"
type: String
default: ""
gecko-pref:
pref: "gecko.nimbus.test"
branch: "default"
We should remove default as a valid element for now because:
- Gecko preferences should have their default value set Gecko side
- Desktop does not support this stanza
- We do not have a mechanism to capture and set default values
This could be a possible enhancement or change in the future, but for right now, it makes the most sense to prevent it to prevent confusion.
Updated•2 months ago
|
| Reporter | ||
Comment 1•2 months ago
•
|
||
Breaking change warning: Before landing, check that the test experiment, gecko-nimbus-validation, has had default: "" removed.
Expect it to be removed in bug 2012763, but it needs to be checked before landing Nimbus changes that makes default FML invalid.
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Comment 2•2 months ago
|
||
(Soft depends on bug 2012763, for landing purposes, otherwise needs to coordinate a removal.)
Updated•2 months ago
|
Updated•2 months ago
|
Comment 3•2 months ago
|
||
Comment 4•2 months ago
|
||
Authored by https://github.com/freshstrangemusic
https://github.com/mozilla/application-services/commit/822db3851779f9a370c56758aaa619612c291919
[main] Bug 2020683 - Disallow simultaneous gecko-pref and default on FML variables (#7283)
Description
•