зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1155245 - Set the app status correctly for hosted certified apps in developer mode. r=fabrice
--HG-- extra : rebase_source : fd925aa980e0677d0ec2a0a7c987285b168533c7
This commit is contained in:
Родитель
9ba87cc97c
Коммит
c12b5220b7
|
@ -3107,6 +3107,12 @@ this.DOMApplicationRegistry = {
|
|||
// 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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче