Name Description Size Coverage
components.conf 1221 -
IPCUtils.h 938 -
MemoryNotificationDB.sys.mjs 530 -
metrics.yaml 2768 -
moz.build 1658 -
Notification.cpp 34142 -
Notification.h A Notification gets a corresponding IPC actor after successful construction. The notification object and the actor do not own each other and their lifetimes are controlled semi-independently. The Notification object can be cycle collected when either: - no one is listening for the events, or - the backend notification is closed. The actor goes away when either: - the backend notification is closed, or - the tab is closed or bfcached. (It cannot just go away on cycle collection because nsIAlertsService wants to know whether the triggered page is still open to decide whether to open a new tab or focus on the existing tab.) 7170 -
NotificationChild.cpp canBubble 4302 -
NotificationChild.h 1478 -
NotificationDB.sys.mjs 10123 -
NotificationHandler.cpp 5770 -
NotificationHandler.h 1446 -
NotificationParent.cpp 16471 -
NotificationParent.h 2698 -
NotificationStorage.sys.mjs @import {NotificationDB} from "./NotificationDB.sys.mjs" 2339 -
NotificationUtils.cpp 16557 -
NotificationUtils.h Retrieves raw notification permission directly from PermissionManager. 4974 -
nsINotificationHandler.idl Either ping the service worker corresponding to the notification, or open a new window if none is found. The principal and notification ID must match the values stored in DB to call the service worker, otherwise it'll behave as if none is found. @param aPrincipal The principal that this notification is for. @param aNotificationID The ID for the notification. Corresponding to `nsINotificationStorageEntry.id` and `nsIAlertNotification.id`. @param aActionName The notification action in case the action button is clicked. @param aAutoClosed Whether the notification is auto-closed by system after a click, e.g. on Windows. Checking this will remove the notification from the DB. 1400 -
PNotification.ipdl 662 -
test -