mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Bug 830027 - Allow all device APIs that uses the content permission prompt from the system principal. r=fabrice/gwagner a=tef+
This commit is contained in:
parent
1882366688
commit
244459f18c
@ -117,6 +117,12 @@ ContentPermissionPrompt.prototype = {
|
||||
},
|
||||
|
||||
prompt: function(request) {
|
||||
|
||||
if (secMan.isSystemPrincipal(request.principal)) {
|
||||
request.allow();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this.handledByApp(request))
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user