mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1486926 - Part 5: Pass the URI being checked to IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor(); r=baku
Otherwise, this function will fail when the THIRD_PARTY_FORCE_ALLOW flag has been set on the channel.
This commit is contained in:
parent
113749631e
commit
4ad569ee63
@ -542,7 +542,7 @@ AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(nsIHttpChannel* aChannel
|
||||
|
||||
bool thirdParty = false;
|
||||
rv = thirdPartyUtil->IsThirdPartyChannel(aChannel,
|
||||
nullptr,
|
||||
aURI,
|
||||
&thirdParty);
|
||||
// Grant if it's not a 3rd party.
|
||||
// Be careful to check the return value of IsThirdPartyChannel, since
|
||||
|
Loading…
Reference in New Issue
Block a user