Closed
Bug 1492404
Opened 7 years ago
Closed 7 years ago
Partial downloads are not removed when "Clear on exit" is used
Categories
(Firefox for Android Graveyard :: Download Manager, defect)
Tracking
(firefox62 wontfix, firefox63 verified, firefox64 verified)
VERIFIED
FIXED
Firefox 64
People
(Reporter: petru, Assigned: petru)
References
()
Details
Attachments
(1 file)
|
46 bytes,
text/x-phabricator-request
|
JanH
:
review+
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Environment:
Devices:
- Sony Z5 (Android 7.1.0)
- Samsung S7 (Android 8.0)
Build: Release 62, Nightly 64
Steps to reproduce:
1. Launch Fennec;
2. Go to Settings -> Privacy -> Clear private data on exit;
3. Check "Downloads" and tap Set;
4. Start a download (e.g. from https://www.thinkbroadband.com/download);
5. Tap Options and select "Quit" from the menu;
6. Choose to cancel all downloads when asked so;
7. Relaunch Fennec;
8. Go to Settings -> Tools -> Downloads;
9. With a Files Manager app check the Download folder;
Expected result:
The app quits cleanly and the entire list of downloads is cleared both from history and from the Download folder.
Actual result:
Partial downloads are still kept in history and in the Download folder.
| Assignee | ||
Updated•7 years ago
|
Updated•7 years ago
|
status-firefox62:
--- → affected
Hardware: Unspecified → ARM
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
While investigating this I saw that going to
> Settings -> Clear private data
with Downloads checked
also does not clear the partial downloads (paused or ongoing).
Comment 2•7 years ago
|
||
Both ways ultimately end up with the Sanitizer (Sanitizer.jsm), so that's not totally unexpected.
| Assignee | ||
Comment 3•7 years ago
|
||
Whenever Fennec asks to sanitize downloads all downloads will be deleted,
irrespective of their current status (will include in progress downloads).
Only when browsingData.removeDownloads WebExtension asks to sanitize downloads
we will check to make sure a specific download conforms and can be deleted.
Comment 4•7 years ago
|
||
Comment on attachment 9012184 [details]
Bug 1492404 - Remove all downloads when Fennec asked to sanitize them; r?sdaswani
Jan Henning [:JanH] has approved the revision.
Attachment #9012184 -
Flags: review+
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc16bc807209
Remove all downloads when Fennec asked to sanitize them; r=JanH
Keywords: checkin-needed
Comment 6•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
| Assignee | ||
Updated•7 years ago
|
Flags: qe-verify+
Comment 7•7 years ago
|
||
Verified as fixed on the latest build of Nightly 64.0a1 (2018-10-07) using both scenarios with Nokia 6 (Android 7.1.1), Samsung Galaxy S7 Edge (Android 8.0.0), Sony Xperia Z5 Premium (Android 6.0.1) and OnePlus 5T (Android 8.1.0).
Comment 8•7 years ago
|
||
Is that something we can consider for beta uplift?
Flags: needinfo?(petru.lingurar)
| Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(petru.lingurar)
| Assignee | ||
Comment 9•7 years ago
|
||
Comment on attachment 9012184 [details]
Bug 1492404 - Remove all downloads when Fennec asked to sanitize them; r?sdaswani
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: None
User impact if declined: Privacy issue: Partial downloads are kept after the app is closed even if the user chose for all downloads to be cleared from history.
Is this code covered by automated tests?: No
Has the fix been verified in Nightly?: Yes
Needs manual test from QE?: No
If yes, steps to reproduce: --
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Small change, verified by QA.
String changes made/needed: --
Attachment #9012184 -
Flags: approval-mozilla-beta?
Comment 10•7 years ago
|
||
Comment on attachment 9012184 [details]
Bug 1492404 - Remove all downloads when Fennec asked to sanitize them; r?sdaswani
Bug fix for fennec download history management, baked a week on nightly, uplift approved for 63 beta 13, thanks.
Attachment #9012184 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 11•7 years ago
|
||
| bugherder uplift | ||
Comment 12•7 years ago
|
||
Tested with Motorola Nexus 6(Android 7.1.1), Nexus 9(Android 6.0.1), Sony Xperia Z5 (Android 7.0) and this issue is still reproducible on 63 beta 13. I've filed bug 1497502.
However, on Sony Xperia Z5 Premium(Android 6.0.1) the issue is fixed on the latest Beta build. Keeping the qe-verify flag to check when the issue is fixed.
Comment 13•7 years ago
|
||
As we are close from the 63 release, wontfix for 62.
Comment 15•7 years ago
|
||
Verified in the latest Beta (63.0b15) following the steps provided in Comment 0. Nothing is kept in the downloads folder after quitting FF.
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•