diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /toolkit/components/downloads/DownloadLegacy.sys.mjs | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/downloads/DownloadLegacy.sys.mjs')
-rw-r--r-- | toolkit/components/downloads/DownloadLegacy.sys.mjs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/toolkit/components/downloads/DownloadLegacy.sys.mjs b/toolkit/components/downloads/DownloadLegacy.sys.mjs index ae38b0d26c..1cf05c5512 100644 --- a/toolkit/components/downloads/DownloadLegacy.sys.mjs +++ b/toolkit/components/downloads/DownloadLegacy.sys.mjs @@ -166,12 +166,7 @@ DownloadLegacyTransfer.prototype = { onLocationChange() {}, // nsIWebProgressListener - onStatusChange: function DLT_onStatusChange( - aWebProgress, - aRequest, - aStatus, - aMessage - ) { + onStatusChange: function DLT_onStatusChange(aWebProgress, aRequest, aStatus) { // The status change may optionally be received in addition to the state // change, but if no network request actually started, it is possible that // we only receive a status change with an error status code. @@ -243,12 +238,7 @@ DownloadLegacyTransfer.prototype = { _delayedMaxTotalProgress: 0, // nsIWebProgressListener2 - onRefreshAttempted: function DLT_onRefreshAttempted( - aWebProgress, - aRefreshURI, - aMillis, - aSameURI - ) { + onRefreshAttempted: function DLT_onRefreshAttempted() { // Indicate that refreshes and redirects are allowed by default. However, // note that download components don't usually call this method at all. return true; |