0-byte downloads are never added to downloads history

NEW
Unassigned

Status

()

Toolkit
Downloads API
6 years ago
6 years ago

People

(Reporter: mak, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
For whatever reason the download manager adds downloads to download history in OnProgressChange64, unfortunately 0-byte downloads don't go through this code path, thus we don't store download history for these files.
This means they are "lost" from the browser views at the end of the session.
(Reporter)

Comment 1

6 years ago
moreover nsDownloadScanner warns that the file has been removed before the scan, when the truth is the file has no size.
You need to log in before you can comment on or make changes to this bug.