Bug 892837 - Add manifestURL to the webapp.json file. r=myk
authorMarco Castelluccio <mar.castelluccio@studenti.unina.it>
Fri, 16 Aug 2013 15:17:53 -0400
changeset 143014 859d42fcc5268e4592f82447147810acd69d9e5f
parent 143013 1cac9051df048e3cb65c5d4aee187c7871ecdea2
child 143015 9fb8a7b295e6a9b85f6324aaee999a08e0ddfd34
push id32605
push userphilringnalda@gmail.com
push dateMon, 19 Aug 2013 00:51:46 +0000
treeherdermozilla-inbound@7f882e063eaf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmyk
bugs892837
milestone26.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 892837 - Add manifestURL to the webapp.json file. r=myk
toolkit/webapps/WebappsInstaller.jsm
--- a/toolkit/webapps/WebappsInstaller.jsm
+++ b/toolkit/webapps/WebappsInstaller.jsm
@@ -173,17 +173,18 @@ NativeApp.prototype = {
     // The app registry is the Firefox profile from which the app
     // was installed.
     let registryFolder = Services.dirsvc.get("ProfD", Ci.nsIFile);
 
     this.webappJson = {
       "registryDir": registryFolder.path,
       "app": {
         "manifest": aManifest,
-        "origin": aData.app.origin
+        "origin": aData.app.origin,
+        "manifestURL": aData.app.manifestURL
       }
     };
 
     this.runtimeFolder = Services.dirsvc.get("GreD", Ci.nsIFile);
   }
 };
 
 #ifdef XP_WIN