diff --git a/toolkit/components/extensions/ext-downloads.js b/toolkit/components/extensions/ext-downloads.js index 738ac015313c..4ddfa805532e 100644 --- a/toolkit/components/extensions/ext-downloads.js +++ b/toolkit/components/extensions/ext-downloads.js @@ -66,8 +66,8 @@ class DownloadItem { // Based on the code in summarizeDownloads() in DownloadsCommon.jsm if (this.download.hasProgress && this.download.speed > 0) { let sizeLeft = this.download.totalBytes - this.download.currentBytes; - let rawTimeLeft = sizeLeft / this.download.speed; - return new Date(Date.now() + rawTimeLeft); + let timeLeftInSeconds = sizeLeft / this.download.speed; + return new Date(Date.now() + (timeLeftInSeconds * 1000)); } } get state() {