mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 820366 - UNSUFFICIENT_STORAGE error is not triggered correctly at restart; r=fabrice
This commit is contained in:
parent
d7f4325996
commit
589c16aaf1
@ -937,9 +937,11 @@ this.DOMApplicationRegistry = {
|
||||
}
|
||||
|
||||
let manifest = new ManifestHelper(aJSON, app.installOrigin);
|
||||
this.downloadPackage(manifest, { manifestURL: aManifestURL,
|
||||
origin: app.origin }, isUpdate,
|
||||
function(aId, aManifest) {
|
||||
this.downloadPackage(manifest, {
|
||||
manifestURL: aManifestURL,
|
||||
origin: app.origin,
|
||||
downloadSize: app.downloadSize
|
||||
}, isUpdate, function(aId, aManifest) {
|
||||
// Success! Keep the zip in of TmpD, we'll move it out when
|
||||
// applyDownload() will be called.
|
||||
let tmpDir = FileUtils.getDir("TmpD", ["webapps", aId], true, true);
|
||||
|
Loading…
Reference in New Issue
Block a user