B2G/gecko/browser/components/downloads/src/DownloadsCommon.jsm
/**
   * Called when a data item is removed, ensures that the widget associated with
   * the view item is removed from the user interface.
   *
   * @param aDataItem
   *        DownloadsDataItem object that is being removed.
   */
Called when a data item is removed, ensures that the widget associated with
the view item is removed from the user interface.

@param aDataItem
DownloadsDataItem object that is being removed.
Called when a data item is removed ensures that the widget associated with the view item is removed from the user interface . @param aDataItem DownloadsDataItem object that is being removed .
function DID_onDataItemRemoved(aDataItem)
  {
    this._itemCount--;
    this._updateViews();
  }
function DID_onDataItemRemoved ( aDataItem ) { this . _itemCount -- ; this . _updateViews ( ) ; }
Called when a data item is removed, ensures that the widget associated with
 the view item is removed from the user interface.
Called when a data item is removed ensures that the widget associated with the view item is removed from the user interface .