Published using Google Docs
Bug 1137355 - Datachoices infobar needs to be updated for handling from Telemetry
Updated automatically every 5 minutes

The purpose of this document is to give an overview of the behaviour of the new Telemetry Reporting Policy.

This behavior replicates what FHR does now from Telemetry.

What happens on the first run with a new profile?

  1. When Firefox starts and windows/tabs are restored, user is notified after a delay.
  1. A notification bar is shown at the bottom of every opened Firefox window, even private ones.
  2. As soon as the bar is shown, the user is assumed to have “acknowledged” of the policy.
  1. The user is assumed to have acknowledged it even if he doesn’t close the notification or clicks on “Choose what I share” button.
  1. Telemetry won’t start sending pings until the infobar was shown.
  2. Once the notification is displayed, Telemetry is notified and can start sending pings.

What happens if the policy version is changed?

The same as above.

We use a “policy version” to reflect changes to our privacy policies etc.. If we have changes that require user consent, we can bump the “required policy version”, which triggers the infobar to be shown again.

When does data sending start?

When do we use this new behaviour/how does it interact with the telemetry.enabled pref?

Only when DRS is disabled and unified telemetry is preffed on.

How will this interact with the telemetry.enabled pref?

How should we structure the implementation?

We will add two new modules, one of them interacting with TelemetrySend, with the following responsibilities:

Which preferences keep this stuff working?