mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043136 - Handle access in permission prompt. r=mfinkle
This commit is contained in:
parent
b8ccd3b59c
commit
55dc7e036b
@ -71,7 +71,9 @@ ContentPermissionPrompt.prototype = {
|
||||
let perm = types.queryElementAt(0, Ci.nsIContentPermissionType);
|
||||
|
||||
// Returns true if the request was handled
|
||||
if (this.handleExistingPermission(request, perm.type, isApp))
|
||||
let access = (perm.access && perm.access !== "unused") ?
|
||||
(perm.type + "-" + perm.access) : perm.type;
|
||||
if (this.handleExistingPermission(request, access, isApp))
|
||||
return;
|
||||
|
||||
let chromeWin = this.getChromeForRequest(request);
|
||||
|
Loading…
Reference in New Issue
Block a user