Closed Bug 2020683 Opened 2 months ago Closed 2 months ago

For Gecko Preference Experiments, the `default:` FML stanza should cause an error on Android

Categories

(Application Services :: Nimbus SDK, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

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:

  1. Gecko preferences should have their default value set Gecko side
  2. Desktop does not support this stanza
  3. 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.

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.

Summary: For Gecko Preference Experiments, the `default:` FML stanza should cause an error → For Gecko Preference Experiments, the `default:` FML stanza should cause an error on Android
Blocks: 2020769

(Soft depends on bug 2012763, for landing purposes, otherwise needs to coordinate a removal.)

Blocks: 1908182
No longer blocks: 2020769
Depends on: 2012763
Blocks: 2020769
See Also: → 2001415
Whiteboard: [fxdroid] → [fxdroid][nimbus]
Status: NEW → RESOLVED
Closed: 2 months ago
Flags: qe-verify+
Resolution: --- → FIXED
Regressions: 2025587
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: