when a download fails due to a NETWORK_FAILED error, you can often continue downloading where you left by pressing the “Retry” button (icon with a circular arrow in the download manager) and it works.
I assumed you could do the same programmatically using:
However this does not work at all. It throws an Error that the download is not resume-able. In the UI I can always “Retry” the download and it continues where it failed (and not from the beginning).
Is there no programmatic way in Firefox to reproduce the functionality of the “Retry” button?