Closed Bug 1673554 Opened 4 years ago Closed 4 years ago

Add an option to override the Ion id in `submitExternalPing`

Categories

(Firefox :: Pioneer, task, P1)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 + fixed

People

(Reporter: Dexter, Assigned: Dexter)

Details

Attachments

(1 file)

From this issue:

With the new architecture the Ion id is stored in the Core addon. Unfortunately this means that TelemetryController.submitExternalPing will throw unless it is also set in the toolkit.telemetry.pioneerId pref.

To keep both about:ion and Ion Core working when it comes to telemetry, we will need to add an overridePioneerId option (like overrideClientId) that, if present, will use the provided id and no check the pref at all.

With this change, calling the submitExternalPing API
will not necessarily require the pioneer id value to be
stored in a pref. This added flexibility will allow the
Pioneer/Ion Core Addon to own the storage of the id,
communicating it to the legacy telemetry APIs as needed.

[Tracking Requested - why for this release]: We'd like to get this into Firefox for the 84 release.

Pushed by aplacitelli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9651640bcc07
Add an option to override the pioneer id. r=chutten
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: