I am looking for a way to retry/resume broken downloads in a WebExtension. I know there is the downloads.resume() method, but that only works for paused downloads and not broken ones caused by network failures. In the download manager, there is the retry button that can restart the broken download and resume where if left off. How can I do this with the API?
Asked
Active
Viewed 203 times
0
-
It's not possible yet. Try filing a bug: https://bugzilla.mozilla.org/ (product Toolkit, division WebExtensions) – Smile4ever Jun 04 '18 at 18:10
-
1I submitted the request here: https://bugzilla.mozilla.org/show_bug.cgi?id=1467059 – John_Sheares Jun 07 '18 at 22:24
-
Great. It would be a wonderful addition to the API. – Smile4ever Jun 08 '18 at 09:01