B2G/gecko/browser/components/downloads/src/DownloadsCommon.jsm
/**
   * Indicates whether the download stopped because of an error, and can be
   * resumed manually.
   */
Indicates whether the download stopped because of an error, and can be
resumed manually.
Indicates whether the download stopped because of an error and can be resumed manually .
get canRetry()
  {
    return this.state == nsIDM.DOWNLOAD_CANCELED ||
           this.state == nsIDM.DOWNLOAD_FAILED;
  }
get canRetry ( ) { return this . state == nsIDM . DOWNLOAD_CANCELED || this . state == nsIDM . DOWNLOAD_FAILED ; }
Indicates whether the download stopped because of an error, and can be
 resumed manually.
Indicates whether the download stopped because of an error and can be resumed manually .