Closed Bug 1188954 Opened 9 years ago Closed 9 years ago

Manually test the data choices infobar

Categories

(Toolkit :: Telemetry, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox42 --- affected

People

(Reporter: Dexter, Unassigned)

References

Details

(Whiteboard: [unifiedTelemetry])

It would be great to have a new pair of eyes to double check the following: * The datachoices infobar (Bug 1137355) -- The bar is correctly showing on the first run, after 60 seconds (DRS Disabled) -- The bar is correctly showing on next runs after 10 seconds if the first browser session was closed before 60 seconds (DRS Disabled) -- We are saving the date the bar was displayed in the prefs (DRS Disabled) -- The test should be repeated with DRS enabled to make sure we're not regressing the behaviour while DRS is still On. * Unified telemetry On for people who opted into Telemetry (bug 1182424)
Blocks: 1154224
Whiteboard: [unifiedTelemetry]
Blocks: 1188969
Summary: Manually test the data choices infobar and Unified Telemetry opt-in behaviour → Manually test the data choices infobar
No longer blocks: 1188969
This is just for the datachoices infobar, I've filed bug 1188969 for the opt-in behaviour.
* The bar is correctly showing on the first run, after 60 seconds - confirmed with datareporting disabled and enabled * The bar is correctly showing on next runs after 10 seconds if the first browser session was closed before 60 seconds - confirmed with datareporting disabled and enabled * We are saving the date the bar was displayed in the prefs - Is the pref datareporting.policy.firstRunTime? If so that is being set to the correct timestamp. Otherwise I'm not sure which pref I should be looking at.
This was on nightly/42 btw, using the datareporting.healthreport.service.enabled pref to control DRS The datareporting.healthreport.uploadenabled pref (the one control via the UI) also seems to make the infobar appear immediately when toggled.
(In reply to Stuart Philp :sphilp from comment #3) > The datareporting.healthreport.uploadenabled pref (the one control via the > UI) also seems to make the infobar appear immediately when toggled.
Flags: needinfo?(alessio.placitelli)
(In reply to Stuart Philp :sphilp from comment #2) Thanks Stuart! > * We are saving the date the bar was displayed in the prefs > - Is the pref datareporting.policy.firstRunTime? If so that is being set to > the correct timestamp. Otherwise I'm not sure which pref I should be looking > at. Sorry, I wasn't clear about the preferences. The following need to be updated when the bar is displayed: - "datareporting.policy.dataSubmissionPolicyAcceptedVersion" - "datareporting.policy.dataSubmissionPolicyNotifiedTime" Also, the following pref disables all pings upload: - "datareporting.policy.dataSubmissionEnabled" > The datareporting.healthreport.uploadenabled pref (the one control via the UI) also seems to make the infobar appear immediately when toggled. Good catch. When disabling uploadEnabled, a deletion ping gets generated and sent to the server to signal user's intent. Apparently, the Reporting Policy catches this event and shows the infobar.
Flags: needinfo?(alessio.placitelli)
(In reply to Georg Fritzsche [:gfritzsche] from comment #4) > (In reply to Stuart Philp :sphilp from comment #3) > > The datareporting.healthreport.uploadenabled pref (the one control via the > > UI) also seems to make the infobar appear immediately when toggled. I forgot to mention that the bar appears immediately only before the 60s/10s limit. If the infobar was already shown once, it doesn't show again when toggling uploadEnabled.
I've filed bug 1191336 for the uploadEnabled issue.
Okay, retested with these prefs and can confirm they are set correctly. One issue: - create a new profile - set datareporting.policy.dataSubmissionEnabled to false - restart before 60 seconds Expected: - The data choices bar displays after 10 seconds Actual: - The data choices bar displays after 60 seconds If you leave datareporting.policy.dataSubmissionEnabled set to true, the bar does show up after 10 seconds, so this pref seems to not hit/support the 10 second case.
Depends on: 1192314
Bug 1192314 is not blocking shipping - i think we can close this bug and revisit after bug 1192314 is fixed?
Flags: needinfo?(sphilp)
Yup sounds good. Flag me to test the other issue when that's fixed
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(sphilp)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.