Bug 1035182 - Pass the correct categories parameter during apps installation from the webapp runtime. r=myk
authorMarco Castelluccio <mar.castelluccio@studenti.unina.it>
Wed, 09 Jul 2014 15:15:07 +0200
changeset 193087 2ebb2dcb711f16c1b7657588abd5c8a89c9b616f
parent 193086 3359c59db10f396765ebfb9584349f695d643e89
child 193088 e8aa304c209bf9e050be8e95194d3a40ac10aa71
push id27107
push userryanvm@gmail.com
push dateWed, 09 Jul 2014 19:45:31 +0000
treeherdermozilla-central@6db315bcdb6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmyk
bugs1035182
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1035182 - Pass the correct categories parameter during apps installation from the webapp runtime. r=myk
webapprt/WebappManager.jsm
--- a/webapprt/WebappManager.jsm
+++ b/webapprt/WebappManager.jsm
@@ -63,17 +63,17 @@ this.WebappManager = {
       bundle.GetStringFromName("webapps.install.dontinstall"),
       null,
       null,
       {});
 
     // Perform the install if the user allows it
     if (choice == 0) {
       let nativeApp = new NativeApp(data.app, jsonManifest,
-                                    WebappRT.config.app.categories,
+                                    data.app.categories,
                                     WebappRT.config.registryDir);
       let localDir;
       try {
         localDir = nativeApp.createProfile();
       } catch (ex) {
         DOMApplicationRegistry.denyInstall(aData);
         return;
       }