mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 823397 - Installing a privileged app from marketplace dev - appStatus should be privileged, but ends up being web. r=fabrice
This commit is contained in:
parent
8a2a1f661a
commit
519e58feaa
@ -1874,9 +1874,10 @@ this.DOMApplicationRegistry = {
|
||||
: isSigned ? Ci.nsIPrincipal.APP_STATUS_PRIVILEGED
|
||||
: Ci.nsIPrincipal.APP_STATUS_INSTALLED;
|
||||
|
||||
if (AppsUtils.getAppManifestStatus(aManifest) > maxStatus) {
|
||||
if (AppsUtils.getAppManifestStatus(manifest) > maxStatus) {
|
||||
throw "INVALID_SECURITY_LEVEL";
|
||||
}
|
||||
aApp.appStatus = AppsUtils.getAppManifestStatus(manifest);
|
||||
|
||||
if (aOnSuccess) {
|
||||
aOnSuccess(id, manifest);
|
||||
|
Loading…
Reference in New Issue
Block a user