mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1617893 - Ensure that we properly strip OriginAttributes when deciding which permissions to send for a principal; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D64428 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4b093e6235
commit
7a072c5114
@ -3253,7 +3253,7 @@ nsPermissionManager::GetAllKeysForPrincipal(nsIPrincipal* aPrincipal) {
|
||||
// Don't force strip origin attributes.
|
||||
GetKeyForPrincipal(prin, false, pair->first());
|
||||
|
||||
Unused << prin->GetOrigin(pair->second());
|
||||
Unused << GetOriginFromPrincipal(prin, false, pair->second());
|
||||
|
||||
// Get the next subdomain principal and loop back around.
|
||||
prin = GetNextSubDomainPrincipal(prin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user