Bug 1035189 - Remove appName property from NativeApp.jsm. r=tabraldes
authorMarco Castelluccio <mar.castelluccio@studenti.unina.it>
Thu, 10 Jul 2014 03:27:13 +0200
changeset 193184 95e720b655a2879289fed82d745bc1302d4ac7f0
parent 193183 698c1f877c13f88c808873a1222c5fd8a3449c67
child 193185 4157f51c6ad4c9c6f2ce64a7179e2b2563ef35c5
push id46045
push usermar.castelluccio@studenti.unina.it
push dateThu, 10 Jul 2014 01:27:28 +0000
treeherdermozilla-inbound@95e720b655a2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstabraldes
bugs1035189
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 1035189 - Remove appName property from NativeApp.jsm. r=tabraldes
toolkit/webapps/NativeApp.jsm
--- a/toolkit/webapps/NativeApp.jsm
+++ b/toolkit/webapps/NativeApp.jsm
@@ -75,17 +75,17 @@ function CommonNativeApp(aApp, aManifest
     if (Services.prefs.getBoolPref("browser.mozApps.installer.dry_run")) {
       this._dryRun = true;
     }
   } catch (ex) {}
 }
 
 CommonNativeApp.prototype = {
   uniqueName: null,
-  appName: null,
+  appLocalizedName: null,
   appNameAsFilename: null,
   iconURI: null,
   developerName: null,
   shortDescription: null,
   categories: null,
   webappJson: null,
   runtimeFolder: null,
   manifest: null,
@@ -120,17 +120,17 @@ CommonNativeApp.prototype = {
 
     if (manifest.description) {
       let firstLine = manifest.description.split("\n")[0];
       let shortDesc = firstLine.length <= 256
                       ? firstLine
                       : firstLine.substr(0, 253) + "…";
       this.shortDescription = shortDesc;
     } else {
-      this.shortDescription = this.appName;
+      this.shortDescription = this.appLocalizedName;
     }
 
     if (manifest.version) {
       this.version = manifest.version;
     }
 
     this.webappJson = {
       // The app registry is the Firefox profile from which the app