Closed Bug 1894533 Opened 1 year ago Closed 1 year ago

Deprecate browser.telemetry.registerEvents and browser.telemetry.recordEvents and replace them with no-ops

Categories

(Toolkit :: Telemetry, task)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(1 file)

Once all the current, active users of browser.telemetry.registerEvents and browser.telemetry.recordEvent have been migrated away (bug 1894526), we want to stop people from using them. Alas, old versions of privileged extensions will remain out in the wild in perpetuity, so for at least a little while these APIs will have to remain present.

But they don't have to work.

This bug is about:

  • Notifying the moz-line-extensions@ list of our intent to deprecate these APIs
    • We're only looking at these two for today, but we wouldn't mind taking the rest out sooner rather than later
    • The migration path is to use the addons_parent scope to get access to Glean APIs (coming in bug 1894532)
    • Though most extensions these days prefer integrating Glean.js instead, so we should definitely mention that and link to some docs
  • Replacing the implementation of browser.telemetry.registerEvents and browser.telemetry.recordEvents with no-ops
  • [Optional] Instrumenting calls to the now-deprecated APIs, for validation and/or monitoring
Blocks: 1894523
No longer depends on: 1894523
Assignee: nobody → chutten
Status: NEW → ASSIGNED
Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6fa3595e11e7 Make browser.telemetry.{register|record}Event(s) no-op r=TravisLong,extension-reviewers,robwu
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
No longer blocks: 1930196
See Also: → 1930196
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: