Bug 814293 - Remove unused permissions. r=sicking

This commit is contained in:
Gregor Wagner 2012-11-30 12:22:35 -08:00
parent eccb5c7216
commit c296902e86

View File

@ -50,12 +50,7 @@ function mapSuffixes(aPermName, aSuffixes)
// battery-status, network-information, vibration,
// device-capabilities
this.PermissionsTable = { "resource-lock": {
app: ALLOW_ACTION,
privileged: ALLOW_ACTION,
certified: ALLOW_ACTION
},
geolocation: {
this.PermissionsTable = { geolocation: {
app: PROMPT_ACTION,
privileged: PROMPT_ACTION,
certified: ALLOW_ACTION
@ -136,16 +131,6 @@ this.PermissionsTable = { "resource-lock": {
privileged: DENY_ACTION,
certified: ALLOW_ACTION
},
wifi: {
app: DENY_ACTION,
privileged: PROMPT_ACTION,
certified: ALLOW_ACTION
},
keyboard: {
app: DENY_ACTION,
privileged: DENY_ACTION,
certified: ALLOW_ACTION
},
mobileconnection: {
app: DENY_ACTION,
privileged: DENY_ACTION,
@ -156,11 +141,6 @@ this.PermissionsTable = { "resource-lock": {
privileged: DENY_ACTION,
certified: ALLOW_ACTION
},
push: {
app: DENY_ACTION,
privileged: DENY_ACTION,
certified: ALLOW_ACTION
},
settings: {
app: DENY_ACTION,
privileged: DENY_ACTION,