Closed pdehaan closed 6 years ago
Interesting point. The purpose of that env var was to allow easy testing, so I didn't worry too much about doing it "correctly". The pref is used to OVERRIDE the variation that shield assigns, rather than compelling shield to assign a specific variation. Now that I think about it though, we should fix this in case someone "misuses" this env var for non-testing purposes, so that telemetry stays meaningful (after https://github.com/mozilla/blurts-addon/commit/c347c583bf5f6154960313f129d6dd9f0b0ff52d)
No longer relevant :)
Steps to reproduce:
extensions.fxmonitor_shield_mozilla_org.variationName
config variable is correctly set to3
(integer).Actual results:
Even though I set the
VARIATION_NAME
to3
via the CLI and confirmed in about:config, the Browser Console reports the variation as "2".https://github.com/mozilla/blurts-addon/blob/bab629bcee9b386141646a9b12ed108c64aea716/web-ext-config.js#L20-L22