B2G/gecko/browser/components/downloads/src/DownloadsCommon.jsm
/**
   * Indicates whether the download is proceeding normally, and not finished
   * yet.  This includes paused downloads.  When this property is true, the
   * "progress" property represents the current progress of the download.
   */
Indicates whether the download is proceeding normally, and not finished
yet.  This includes paused downloads.  When this property is true, the
"progress" property represents the current progress of the download.
Indicates whether the download is proceeding normally and not finished yet . This includes paused downloads . When this property is true the " progress " property represents the current progress of the download .
get inProgress()
  {
    return [
      nsIDM.DOWNLOAD_NOTSTARTED,
      nsIDM.DOWNLOAD_QUEUED,
      nsIDM.DOWNLOAD_DOWNLOADING,
      nsIDM.DOWNLOAD_PAUSED,
      nsIDM.DOWNLOAD_SCANNING,
    ].indexOf(this.state) != -1;
  }
get inProgress ( ) { return [ nsIDM . DOWNLOAD_NOTSTARTED , nsIDM . DOWNLOAD_QUEUED , nsIDM . DOWNLOAD_DOWNLOADING , nsIDM . DOWNLOAD_PAUSED , nsIDM . DOWNLOAD_SCANNING , ] . indexOf ( this . state ) != - 1 ; }
Indicates whether the download is proceeding normally, and not finished
 yet.
Indicates whether the download is proceeding normally and not finished yet .