Bug 1005048 - Set the error property in the Webapps:UpdateState message and not in the Webapps:FireEvent message. r=fabrice

This commit is contained in:
Marco Castelluccio 2014-05-10 10:16:07 +02:00
parent cb3db75996
commit 1ac8981457

View File

@ -4061,10 +4061,10 @@ AppcacheObserver.prototype = {
app.downloading = false;
DOMApplicationRegistry.broadcastMessage("Webapps:UpdateState", {
app: app,
error: aError,
manifestURL: app.manifestURL
});
DOMApplicationRegistry.broadcastMessage("Webapps:FireEvent", {
error: aError,
eventType: "downloaderror",
manifestURL: app.manifestURL
});