Closed
Bug 1232648
Opened 9 years ago
Closed 8 years ago
Flipping toolkit.telemetry.enabled doesn't allow to turn Experiments back on
Categories
(Toolkit :: Telemetry, defect, P4)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: Dexter, Assigned: standard8)
References
Details
(Whiteboard: [measurement:client][fixed by bug 1348097])
We are supposed to disable Experiments if Telemetry is disabled. This works just fine, turning "toolkit.telemetry.enabled" off disables Experiments.
But they cannot be turned back on if you flip the preference to true again.
STR:
- Start Firefox with experiments.enabled and toolkit.telemetry.enabled to true
- Turn toolkit.telemetry.enabled to false
- Experiments will now be disabled
- Turn toolkit.telemetry.enabled to true
- Experiments will not be enabled
That's because in [0] we should pass the state of the "experiments.enabled" pref, not gExperimentsEnabled.
That's what we do when flipping "experiments.enabled", since Preferences.observe passes the value of the changed preference as a parameter to the callback function.
[0] - https://dxr.mozilla.org/mozilla-central/rev/ae37fdb042c07c0cb9d0afcd41372a96454f4f4f/browser/experiments/Experiments.jsm#600
[1] - https://dxr.mozilla.org/mozilla-central/rev/ae37fdb042c07c0cb9d0afcd41372a96454f4f4f/browser/experiments/Experiments.jsm#397
Reporter | ||
Updated•9 years ago
|
Whiteboard: [measurement:client]
Assignee | ||
Comment 1•8 years ago
|
||
I'm fixing this as part of bug 1348097.
Assignee: nobody → standard8
Depends on: 1348097
Comment 2•8 years ago
|
||
Is that a blocking problem?
Usually flipping that pref is rare, so i'm not sure if we need to invest time in fixing it.
Updated•8 years ago
|
Priority: -- → P4
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] [away Apr 13 - 18] from comment #2)
> Is that a blocking problem?
> Usually flipping that pref is rare, so i'm not sure if we need to invest
> time in fixing it.
It was part of a series of issues causing an obscure intermittent failure due to a different test toggling the telemetry preference. Fixing this specific part as part of that was a one-line change with two lines of test case.
Assignee | ||
Comment 4•8 years ago
|
||
Fixed by bug 1348097.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [measurement:client] → [measurement:client][fixed by bug 1348097]
You need to log in
before you can comment on or make changes to this bug.
Description
•