mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 1169674 - Use originNoSuffix for permission event. r=fabrice, f=bholley
This commit is contained in:
parent
d12c646ffd
commit
e8c69576a6
@ -413,7 +413,10 @@ ContentPermissionPrompt.prototype = {
|
||||
type: type,
|
||||
permissions: permissions,
|
||||
id: requestId,
|
||||
origin: principal.origin,
|
||||
// This system app uses the origin from permission events to
|
||||
// compare against the mozApp.origin of app windows, so we
|
||||
// are not concerned with origin suffixes here (appId, etc).
|
||||
origin: principal.originNoSuffix,
|
||||
isApp: isApp,
|
||||
remember: remember,
|
||||
isGranted: isGranted,
|
||||
|
Loading…
Reference in New Issue
Block a user