Closed Bug 820366 Opened 8 years ago Closed 8 years ago
_STORAGE error is not triggered correctly *at restart*
When restarting a download on a phone with low storage space, there is no error dialog. STR: * push a 2395140 kBytes (about 2.3 GB) file in /data * "adb shell df /data" should report less than 8M free space (eg 6M) * go to http://owapps.cloudfoundry.com with the browser * install "big packaged app" * accept the installation * we get a dialog saying that there is not enough storage to install this app * an icon is on the homescreen * tap on the icon * accept the download Expected : * we get a dialog saying that there is not enough storage to install this app Actual : * the download begins, the whole zip is downloaded * there is a DOWNLOAD_ERROR because the zip can't be installed logcat says : I/Gecko ( 109): -*-*- Webapps.jsm : Free storage: 5083136. Download size: undefined So it seems it doesn't find the download size correctly.
Summary: UNSUFFICIENT_STORAGE error is not triggered correctly at restart → INSUFFICIENT_STORAGE error is not triggered correctly *at restart*
Attachment #690921 - Flags: review?(fabrice) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Verified today doing some low space testing with appcache preloading for hosted apps and packaged apps.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.