Name Description Size Coverage
InAppNotifications.sys.mjs Controller for the In-App Notification system for showing messages from the project to users. @implements {nsIObserver} 8671 -
NotificationFilter.sys.mjs Initialize glean with the initial preference values for enabled notifications. 5908 -
NotificationManager.sys.mjs Makes sure any pending notifications are shown one after another (as the user interacts with them or they expire). Requires updatedNotifications to be called at least once, as soon as there are available notifications. From then on it will work through the available notifications, until none are left and it will wait for a call to updatedNotifications again. @fires newnotification - Has the notification to display in the detail. @fires clearnotification - Sent when no notification should be shown. @fires notificationinteractedwith - Emitted when a notification has been interacted with. @fires requestnotifications - Emitted to request an update on the currently available notifications. Listeners should call updatedNotifications with an array of the notifications. 11667 -
NotificationOpener.sys.mjs Opens a link either in a browser or tab from an in-app-notification. @param {object} notification - An in app notification. @param {boolean} wait - If the notification should be delayed until the user is active. 1737 -
NotificationScheduler.sys.mjs Callbacks for the current promise @type {Set<Function>} 11094 -
NotificationUpdater.sys.mjs Regularly check the in-app notification server for the latest notifications. 9845 -
OfflineNotifications.sys.mjs @type {?Set<string>} 1745 -