Bug 710323 - Save homepageURL property for recommended addons (r=mfinkle)
authorLucas Rocha <lucasr@mozilla.com>
Thu, 23 Feb 2012 15:20:49 +0000
changeset 87537 cb7dcc6ba424497fd64d88d5fb54bbf8e7ec48df
parent 87536 97dbe3a1350d027238dc4f703e96138c6d204e33
child 87538 4a3aa15868b585fbc0baf482dc300b84c55e8fad
push id22130
push userrnewman@mozilla.com
push dateFri, 24 Feb 2012 02:35:54 +0000
treeherdermozilla-central@d23600a1d4a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs710323
milestone13.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 710323 - Save homepageURL property for recommended addons (r=mfinkle)
mobile/android/components/AddonUpdateService.js
--- a/mobile/android/components/AddonUpdateService.js
+++ b/mobile/android/components/AddonUpdateService.js
@@ -203,16 +203,17 @@ var RecommendedSearchResults = {
       };
 
       // Avoid any NSS costs. Convert https to http.
       addons.forEach(function(aAddon){
         json.addons.push({
           id: aAddon.id,
           name: aAddon.name,
           version: aAddon.version,
+          homepageURL: aAddon.homepageURL.replace(/^https/, "http"),
           iconURL: aAddon.iconURL.replace(/^https/, "http")
         })
       });
 
       let file = self._getFile();
       self._writeFile(file, JSON.stringify(json));
     });
   },