Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Backed out changeset 3a328e80b02c (bug 1510860) for failures e.g.: do…
Browse files Browse the repository at this point in the history
…m/tests/mochitest/general/test_storagePermissionsLimitForeign.html CLOSED TREE
  • Loading branch information
elizabal committed Dec 21, 2018
1 parent bf18da9 commit e068a75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 74 deletions.
8 changes: 4 additions & 4 deletions netwerk/cookie/nsCookieService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1998,8 +1998,8 @@ nsresult nsCookieService::GetCookieStringCommon(nsIURI *aHostURI,
// Check first-party storage access even for non-tracking resources, since
// we will need the result when computing the access rights for the reject
// foreign cookie behavior mode.
if (AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(
httpChannel, aHostURI, nullptr)) {
if (isForeign && AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(
httpChannel, aHostURI, nullptr)) {
firstPartyStorageAccessGranted = true;
}
}
Expand Down Expand Up @@ -2099,8 +2099,8 @@ nsresult nsCookieService::SetCookieStringCommon(nsIURI *aHostURI,
// Check first-party storage access even for non-tracking resources, since
// we will need the result when computing the access rights for the reject
// foreign cookie behavior mode.
if (AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(
httpChannel, aHostURI, nullptr)) {
if (isForeign && AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(
httpChannel, aHostURI, nullptr)) {
firstPartyStorageAccessGranted = true;
}
}
Expand Down
1 change: 0 additions & 1 deletion toolkit/components/antitracking/test/browser/browser.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ skip-if = (os == "win" && os_version == "6.1" && bits == 32 && !debug) # Bug 149
[browser_blockingNoOpener.js]
[browser_doublyNestedTracker.js]
[browser_existingCookiesForSubresources.js]
[browser_firstPartyCookieRejectionHonoursAllowList.js]
[browser_imageCache4.js]
[browser_imageCache4-1.js]
[browser_imageCache4-2.js]
Expand Down

This file was deleted.

0 comments on commit e068a75

Please sign in to comment.