Refactor browser-data-submission-info-bar.js to allow for direct calls to Telemetry

NEW
Unassigned

Status

()

Toolkit
Telemetry
P4
normal
3 years ago
2 years ago

People

(Reporter: Dexter, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
1

Firefox Tracking Flags

(firefox42 affected)

Details

(Whiteboard: [measurement:client])

Using the data choices infobar, as it is now, requires the use of the |NotifyPolicyRequest| object [1]. We should modify [2] by:

- allowing direct method calls instead of observers to show the infobar;
- allowing to receive an "infobar shown" notification without relying on |NotifyPolicyRequest|.

[1] - https://hg.mozilla.org/mozilla-central/annotate/eaf4f9b45117/services/datareporting/policy.jsm#l59
[2] - https://hg.mozilla.org/mozilla-central/annotate/eaf4f9b45117/browser/base/content/browser-data-submission-info-bar.js
Blocks: 1122482
Blocks: 1201022
No longer blocks: 1122482
Points: --- → 1
Priority: -- → P3
Whiteboard: [measurement:client]
Priority: P3 → P4
You need to log in before you can comment on or make changes to this bug.