Bug 840078 - onerror callback is never triggered over the DOMRequest returned by mozIDOMApplication.launch. r=fabrice, a=lsblakk
authorFernando Jiménez <ferjmoreno@gmail.com>
Thu, 14 Feb 2013 11:56:30 +0100
changeset 118572 51ed5515503824961bb8aaad42ed7b8e1a9fc962
parent 118571 9902641dcac506b7800ec7e58dfd944c72473a82
child 118573 76d637ad58c2dc1170c53b6ec93fcb68b9cd72fc
push id481
push userryanvm@gmail.com
push dateThu, 21 Feb 2013 10:31:24 +0000
reviewersfabrice, lsblakk
bugs840078
milestone18.0
Bug 840078 - onerror callback is never triggered over the DOMRequest returned by mozIDOMApplication.launch. r=fabrice, a=lsblakk
dom/apps/src/Webapps.js
--- a/dom/apps/src/Webapps.js
+++ b/dom/apps/src/Webapps.js
@@ -406,16 +406,17 @@ WebappsApplication.prototype = {
     this._ondownloadavailable = null;
     this._ondownloadapplied = null;
 
     this._downloadError = null;
 
     this.initHelper(aWindow, ["Webapps:OfflineCache",
                               "Webapps:CheckForUpdate:Return:OK",
                               "Webapps:CheckForUpdate:Return:KO",
+                              "Webapps:Launch:Return:KO",
                               "Webapps:PackageEvent"]);
 
     cpmm.sendAsyncMessage("Webapps:RegisterForMessages",
                           ["Webapps:OfflineCache",
                            "Webapps:PackageEvent",
                            "Webapps:CheckForUpdate:Return:OK"]);
   },