author | Antonio M. Amaya <amac@tid.es> |
Thu, 23 Apr 2015 06:33:00 -0400 | |
changeset 241202 | 83ce3822d1270431f3a138cfc87b88125c185038 |
parent 241201 | 5d2f57d4721a3fbd052deca6b5cfe98a4f4c8992 |
child 241203 | 86a8fc4c1fae2c145dce2afdb6e20c65cacabe66 |
push id | 59045 |
push user | ryanvm@gmail.com |
push date | Mon, 27 Apr 2015 13:55:20 +0000 |
treeherder | mozilla-inbound@438d9e2a991a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | fabrice |
bugs | 1155245 |
milestone | 40.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
|
--- a/dom/apps/Webapps.jsm +++ b/dom/apps/Webapps.jsm @@ -3102,16 +3102,22 @@ this.DOMApplicationRegistry = { let appObject = this._cloneApp(aData, app, manifest, jsonManifest, id, localId); this.webapps[id] = appObject; // For package apps, the permissions are not in the mini-manifest, so // don't update the permissions yet. if (!aData.isPackage) { if (supportUseCurrentProfile()) { + try { + if (Services.prefs.getBoolPref("dom.apps.developer_mode")) { + this.webapps[id].appStatus = + AppsUtils.getAppManifestStatus(app.manifest); + } + } catch(e) {}; PermissionsInstaller.installPermissions( { origin: appObject.origin, manifestURL: appObject.manifestURL, manifest: jsonManifest, kind: appObject.kind }, isReinstall,