Closed
Bug 596402
Opened 14 years ago
Closed 14 years ago
Pausing download shows error
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec2.0b2+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b2+ | --- |
People
(Reporter: wesj, Assigned: crowderbt)
References
Details
Attachments
(1 file, 1 obsolete file)
723 bytes,
patch
|
dwitte
:
review+
blassey
:
approval2.0+
|
Details | Diff | Splinter Review |
When you pause a download, a download error prompt is show reading: "Downloading could not be saved, because the source file could not be read. Try again later, or contact the server administrator" The good news is, the download actually is paused and can be resumed.
Reporter | ||
Comment 1•14 years ago
|
||
Crowder, this is on you... I think. Something funny happens in nsExternalAppHandler. When the download is paused, its Cancel is called so that mCancelled = true; However, between that and when OnStopRequest is called later, mCancelled = false; and the download assumes some error has happened.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → crowderbt
Assignee | ||
Comment 2•14 years ago
|
||
The patch in bug 591081 caused this bug by invoking nsExternalAppHandler::OnStopRequest correctly, which we didn't do before. The patch is, I think, pretty easy and coming right up.
Blocks: 591081
Assignee | ||
Comment 3•14 years ago
|
||
This whole section of code should probably simply be removed. The code here really has no business providing a prompt in the absense of a progress listener.
Attachment #475582 -
Flags: review?(dwitte)
Assignee | ||
Comment 4•14 years ago
|
||
Need wrappers to build...
Attachment #475582 -
Attachment is obsolete: true
Attachment #475584 -
Flags: review?(dwitte)
Attachment #475582 -
Flags: review?(dwitte)
Assignee | ||
Updated•14 years ago
|
tracking-fennec: --- → ?
Updated•14 years ago
|
tracking-fennec: ? → 2.0b2+
Comment 5•14 years ago
|
||
Comment on attachment 475584 [details] [diff] [review] with MOZ_IPC r=dwitte
Attachment #475584 -
Flags: review?(dwitte) → review+
Updated•14 years ago
|
Attachment #475584 -
Flags: approval2.0+
Assignee | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/10257eea7533 Landed this a while ago, sorry for not resolving.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified: Mozilla/5.0 (Maemo;Linux armv71; rv:2.0b7pre)Gecko/20100922 Firefox/4.0b7pre Fennec/2.0b1pre Mozilla/5.0 (Android; Linux armv71; rv2.0b7pre) Gecko/20100922 Firefox/4.0b7pre Fennec/2.0b1pre For Android, don't use the context picker : bug 593408 Steps to repro : 1. go to URL : http://people.mozilla.com/~nhirata/html_tp/Docs/ 2. download IMG_0092.zip 3. during download go to the control panel 4. select pause
Status: RESOLVED → VERIFIED
Flags: in-litmus?
Updated•14 years ago
|
Flags: in-litmus? → in-litmus?(nhirata.bugzilla)
litmus test case already exists : https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=12201 https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=12268 https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=12163
Flags: in-litmus?(nhirata.bugzilla) → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•