Some uses of the legacy histogram APIs need to be removed before these APIs are removed in mozilla-central
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
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.mjsfor aSECURITY_UIhistogrammail/modules/GlobalPopupNotifications.sys.mjsfor variousPOPUP_NOTIFICATION_*histograms.
Comment 1•1 year ago
•
|
||
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
| Reporter | ||
Comment 2•1 year ago
|
||
(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 | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b004b0134f2c
Remove uses of legacy histogram APIs. r=mkmelin
| Assignee | ||
Updated•1 year ago
|
Description
•