Closed Bug 1957876 Opened 1 year ago Closed 1 year ago

Some uses of the legacy histogram APIs need to be removed before these APIs are removed in mozilla-central

Categories

(Thunderbird :: General, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
139 Branch

People

(Reporter: florian, Assigned: darktrojan)

References

Details

Attachments

(1 file)

There is active work (eg bug 1956726) to remove the remaining legacy histogram consumers in mozilla-central. Once that work completes, the histogram.add API will be removed.

It looks like in addition to what we discussed in bug 1957605, there are 2 additional places where mail/ uses the histogram API:

  • mail/modules/ExtensionsUI.sys.mjs for a SECURITY_UI histogram
  • mail/modules/GlobalPopupNotifications.sys.mjs for various POPUP_NOTIFICATION_* histograms.

For GlobalPopupNotifications.sys.mjs, that should ideally be re-synced with toolkit/modules/PopupNotifications.sys.mjs which would take care of it automatically. Or un-forked if we can (but probably can't). See bug 1872407.

mail/modules/ExtensionsUI.sys.mjs may have similar need to be synced up with browser/modules/ExtensionsUI.sys.mjs

(In reply to Magnus Melin [:mkmelin] from comment #1)

mail/modules/ExtensionsUI.sys.mjs may have similar need to be synced up with browser/modules/ExtensionsUI.sys.mjs

In mozilla-central the SECURITY_UI histogram (not migrated to glean yet) is used from:

  • browser/base/content/browser-addons.js
  • dom/html/HTMLFormElement.cpp
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Target Milestone: --- → 138 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b004b0134f2c
Remove uses of legacy histogram APIs. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: 138 Branch → 139 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: