Bug 933380 - Fix exception on app close request. r=fabrice, a=bajaj
authorAlexandre Poirot <poirot.alex@gmail.com>
Thu, 31 Oct 2013 22:52:39 -0400
changeset 167365 52b2f1c08ae2b4e003a00c4563b75f2afa1831b6
parent 167364 924d4a7b26d827dbaa1aca513198aa107d5ffdb1
child 167366 3c9f15727c3161b416c6254f287c5ea574185b7c
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice, bajaj
bugs933380
milestone27.0a2
Bug 933380 - Fix exception on app close request. r=fabrice, a=bajaj
b2g/chrome/content/shell.js
--- a/b2g/chrome/content/shell.js
+++ b/b2g/chrome/content/shell.js
@@ -973,17 +973,17 @@ var WebappsHelper = {
         let id = this.registerInstaller(json);
         shell.sendChromeEvent({
           type: "webapps-ask-install",
           id: id,
           app: json.app
         });
         break;
       case "webapps-close":
-        shell.sendEvent(shell.getContentWindow(), "webapps-close",
+        shell.sendEvent(getContentWindow(), "webapps-close",
           {
             __exposedProps__: { "manifestURL": "r" },
             "manifestURL": json.manifestURL
           });
         break;
     }
   }
 }