Open Bug 1195053 Opened 9 years ago Updated 2 years ago

Cancelling a retried download gives NS_BASE_STREAM_CLOSED: Component returned failure code: 0x80470002


(Toolkit :: Downloads API, defect, P5)




Tracking Status
firefox40 --- affected
firefox41 --- affected
firefox42 --- affected
firefox43 --- affected
firefox-esr52 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox60 --- fix-optional


(Reporter: iannbugzilla, Unassigned)


STR (Using Firefox 39.0.3 on Fedora 21 x64)
1. Open Downloads History and Browser Console
2. Start a large download, cancel download before it completes
3. Retry the download and cancel again

Expected result
1. No error in Browser Console

Actual result
1. Following message in Browser Console:
22:16:29.074 NS_BASE_STREAM_CLOSED: Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIStreamListener.onDataAvailable]1 DownloadCore.jsm:2053:0

On latest trunk same message just at 2049 rather than 2053
This bug reproduces on 46.0b4 (build2) using Mac OSX 10.9.5 also when pausing, resuming and again pausing the download.
This issue also occurs when pausing a download, I will update the flags accordingly. 
Paolo, any thoughts on this issue?
Flags: needinfo?(paolo.mozmail)
QA Contact: cristian.comorasu
Minor enough that I'm not concerned about this. As I understand it, it happens because an expected exception is crossing XPConnect boundaries, and we always report those exceptions. I don't think we have plans to address this general issue at the moment.
Flags: needinfo?(paolo.mozmail)
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.