Closed Bug 1273358 Opened 8 years ago Closed 7 years ago

BrowserUITelemetry reports the social-share-button incorrectly.

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: markh, Unassigned)

References

Details

Via bug 1268349:

The social-share-button is dynamically created and inserted into the toolbar the first time a social feature is used.  BrowserUITelemetry has a list of buttons that default to being in the toolbar so it can report items that are changed from the default.

Currently it lists the social-share-button as being a default in the navbar. This means that if telemetry is measured before the social features are activated, it will be reported in |defaultRemoved| (ie, that the user removed this button from the toolbar). If we change BrowserUITelemetry such that it is not considered as being in the navbar by default and telemetry was captured after the social features were enabled, it would start reporting it in |nondefaultAdded| - ie, that the user explicitly moved the item there.

We should try and fix this so measurements for that button become reliable.
FTR, https://hg.mozilla.org/mozilla-central/rev/7efca54b4920 landed a test browser_BrowserUITelemetry_defaults.js with a reference to this bug, and will need to be changed if this is fixed.
Depends on: 1363485
I think after bug 1363485 it'll reported as nonDefaultAdded if the user does use social. Given the uncertain future of some of the social stuff, this seems like an excellent way of figuring out how many people actually use it. Should we just mark this WFM?
Flags: needinfo?(markh)
SGTM!
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(markh)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.