B2G/gecko/toolkit/content/PopupNotifications.jsm
/**
   * Removes a Notification.
   * @param notification
   *        The Notification object to remove.
   */
Removes a Notification.
@param notification
The Notification object to remove.
Removes a Notification . @param notification The Notification object to remove .
function PopupNotifications_remove(notification) {
    let isCurrent = this._currentNotifications.indexOf(notification) != -1;
    this._remove(notification);
    if (isCurrent)
      this._update();
  }
function PopupNotifications_remove ( notification ) { let isCurrent = this . _currentNotifications . indexOf ( notification ) != - 1 ; this . _remove ( notification ) ; if ( isCurrent ) this . _update ( ) ; }
Removes a Notification.
Removes a Notification .
// update the panel, if needed