mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 832960 - Geolocation and desktop notification should require a manifest entry for apps on Android. r=mfinkle
This commit is contained in:
parent
10dccadd88
commit
50f99a7d61
@ -31,6 +31,12 @@ ContentPermissionPrompt.prototype = {
|
||||
request.cancel();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (request.principal.appId !== Ci.nsIScriptSecurityManager.NO_APP_ID && request.principal.appId !== Ci.nsIScriptSecurityManager.UNKNOWN_APP_ID && (result == Ci.nsIPermissionManager.UNKNOWN_ACTION && !!kEntities[request.type])) {
|
||||
request.cancel();
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user