Bug 814293 - Remove unused permissions. r=sicking

This commit is contained in:
Gregor Wagner 2012-11-30 12:22:35 -08:00
parent 2c2aedaef4
commit 124f3b2486

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,