gecko-dev/netwerk/cookie
Benjamin VanderSloot f9d8931809 Bug 1661151 - The Storage Access API should automatically reject access for cookie policies that don't allow cross-site storage access r=anti-tracking-reviewers,timhuang
Add a test to validate behavior on non-tracking first-party requests
    Add tests to ensure we don't say we are granting storage access to third parties with cookiePolicies that forbid it
    Add check near the top of Document::HasStorageAccess to immediately return false when cookiePolicy is REJECT.
    Add check near the top of Document::RequestStorageAccess to reject when cookiePolicy is REJECT.
    Add check in Document::RequestStorageAccess to reject when the cookie policy forbids third party cookies
        Note, BEHAVIOR_LIMIT_FOREIGN is treated like BEHAVIOR_REJECT_FOREIGN, just like in ContentBlocking::ShouldAllowAccessFor
    Add comparable checks to the priveleged version of RequestStorageAccess

This also resolves Bug 1661152

Differential Revision: https://phabricator.services.mozilla.com/D129278
2021-10-25 23:20:39 +00:00
..
test Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers 2021-10-18 09:26:33 +00:00
Cookie.cpp
Cookie.h
CookieCommons.cpp Bug 1733356 - Fix non-unified build errors in netwerk/cookie/ r=necko-reviewers,dragana 2021-10-14 12:57:59 +00:00
CookieCommons.h Bug 1733356 - Fix non-unified build errors in netwerk/cookie/ r=necko-reviewers,dragana 2021-10-14 12:57:59 +00:00
CookieJarSettings.cpp Bug 1661151 - The Storage Access API should automatically reject access for cookie policies that don't allow cross-site storage access r=anti-tracking-reviewers,timhuang 2021-10-25 23:20:39 +00:00
CookieJarSettings.h
CookieKey.h
CookieLogging.cpp Bug 1733356 - Fix non-unified build errors in netwerk/cookie/ r=necko-reviewers,dragana 2021-10-14 12:57:59 +00:00
CookieLogging.h
CookiePersistentStorage.cpp
CookiePersistentStorage.h
CookiePrivateStorage.cpp
CookiePrivateStorage.h
CookieService.cpp Bug 1678205 - Remove COOKIE_SAMESITE_SET_VS_UNSET telemetry. r=anti-tracking-reviewers,timhuang 2021-10-22 15:15:25 +00:00
CookieService.h
CookieServiceChild.cpp Bug 1733356 - Fix non-unified build errors in netwerk/cookie/ r=necko-reviewers,dragana 2021-10-14 12:57:59 +00:00
CookieServiceChild.h
CookieServiceParent.cpp
CookieServiceParent.h
CookieStorage.cpp Bug 1733356 - Fix non-unified build errors in netwerk/cookie/ r=necko-reviewers,dragana 2021-10-14 12:57:59 +00:00
CookieStorage.h
CookieXPCShellUtils.jsm
PCookieService.ipdl
moz.build Bug 1733356 - Fix non-unified build errors in netwerk/cookie/ r=necko-reviewers,dragana 2021-10-14 12:57:59 +00:00
nsICookie.idl
nsICookieJarSettings.idl Bug 1661151 - The Storage Access API should automatically reject access for cookie policies that don't allow cross-site storage access r=anti-tracking-reviewers,timhuang 2021-10-25 23:20:39 +00:00
nsICookieManager.idl
nsICookiePermission.idl
nsICookieService.idl