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:
Doug Turner 2013-01-17 10:26:40 -08:00
parent 1882366688
commit 244459f18c

View File

@ -117,6 +117,12 @@ ContentPermissionPrompt.prototype = {
},
prompt: function(request) {
if (secMan.isSystemPrincipal(request.principal)) {
request.allow();
return true;
}
if (this.handledByApp(request))
return;