bin/XULRunner21_0/modules/PopupNotifications.jsm
/**
   * Gets and sets notifications for the browser.
   */
Gets and sets notifications for the browser.
Gets and sets notifications for the browser .
function PopupNotifications_getNotifications(browser) {
    let notifications = popupNotificationsMap.get(browser);
    if (!notifications) {
      notifications = [];
      popupNotificationsMap.set(browser, notifications);
    }
    return notifications;
  }
function PopupNotifications_getNotifications ( browser ) { let notifications = popupNotificationsMap . get ( browser ) ; if ( ! notifications ) { notifications = [ ] ; popupNotificationsMap . set ( browser , notifications ) ; } return notifications ; }
Gets and sets notifications for the browser.
Gets and sets notifications for the browser .
// Initialize the WeakMap for the browser so callers can reference/manipulate the array.