mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1489624 - Ensure that the Necko cache will only be partitioned for third-party tracker resources r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D6281 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
e3f9c55a17
commit
bb5a089b38
@ -3965,7 +3965,8 @@ nsHttpChannel::OpenCacheEntryInternal(bool isHttps,
|
||||
extension.Append("TRR");
|
||||
}
|
||||
|
||||
if (!AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(this, mURI, nullptr)) {
|
||||
if (mIsThirdPartyTrackingResource &&
|
||||
!AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(this, mURI, nullptr)) {
|
||||
nsCOMPtr<nsIURI> topWindowURI;
|
||||
rv = GetTopWindowURI(getter_AddRefs(topWindowURI));
|
||||
bool isDocument = false;
|
||||
|
Loading…
Reference in New Issue
Block a user