Closed
Bug 1236507
Opened 8 years ago
Closed 8 years ago
DownloadContentService: Skip download if file system is not writable
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox46 fixed)
RESOLVED
FIXED
Firefox 46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: sebastian, Assigned: sebastian)
References
Details
Attachments
(1 file)
Skip trying to download things if the file system is not writable (temporary file or destination file).
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/29407/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/29407/
Attachment #8703594 -
Flags: review?(rnewman)
Comment 2•8 years ago
|
||
Comment on attachment 8703594 [details] MozReview Request: Bug 1236507 - DownloadContentService: Skip download if file system is not writable. r?rnewman https://reviewboard.mozilla.org/r/29407/#review26321 ::: mobile/android/base/java/org/mozilla/gecko/dlc/DownloadAction.java:90 (Diff revision 1) > + if (!canWrite(temporaryFile, destinationFile)) { If the destination file isn't writeable, should this be recoverable?
Attachment #8703594 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #2) > If the destination file isn't writeable, should this be recoverable? With failure counters: Yeah, if it's repeatable then we will stop trying. I can't really come up with a "normal user" reason why the destination file (which is inside the app directory for now) is not writable. This should be almost never be the case.
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/61b71f449adc8a325cbc22dbf325f160d7975e52 Bug 1236507 - DownloadContentService: Skip download if file system is not writable. r=rnewman
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #3) > I can't really come up with a "normal user" reason why the destination file > (which is inside the app directory for now) is not writable. This should be > almost never be the case. And ... booom, I'm seeing this on a Genymotion emulator now. I filed bug 1236907 to investigate.
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/61b71f449adc
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Updated•3 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
•