Firefox 81.0 (64 bit)
I’ve attached a test extesion that downloads a file (stored inside the extension) to the default downloads directory.
When the file has finished downloading, the extension first deletes the file from disk, and then removes the file from the download history.
(because you’re supposed to do it in that order, according to the API docs)
If I load the extension with
about:debugging > This Firefox > Load Temporary add-on
everything works fine.
But if I run the extension with
the file remains in the download history.
Under the file name in the download history, there’s an error message: “File moved, renamed or deleted”
The file does get deleted from disk, however.
What am I doing wrong?
removefile.zip (4.6 KB)