Bug 820366 - UNSUFFICIENT_STORAGE error is not triggered correctly at restart; r=fabrice

This commit is contained in:
Fernando Jiménez 2012-12-11 21:58:38 +01:00
parent 18b8f5790a
commit e0d897882e

View File

@ -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);