mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
f9d8931809
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 |
||
---|---|---|
.. | ||
test | ||
Cookie.cpp | ||
Cookie.h | ||
CookieCommons.cpp | ||
CookieCommons.h | ||
CookieJarSettings.cpp | ||
CookieJarSettings.h | ||
CookieKey.h | ||
CookieLogging.cpp | ||
CookieLogging.h | ||
CookiePersistentStorage.cpp | ||
CookiePersistentStorage.h | ||
CookiePrivateStorage.cpp | ||
CookiePrivateStorage.h | ||
CookieService.cpp | ||
CookieService.h | ||
CookieServiceChild.cpp | ||
CookieServiceChild.h | ||
CookieServiceParent.cpp | ||
CookieServiceParent.h | ||
CookieStorage.cpp | ||
CookieStorage.h | ||
CookieXPCShellUtils.jsm | ||
moz.build | ||
nsICookie.idl | ||
nsICookieJarSettings.idl | ||
nsICookieManager.idl | ||
nsICookiePermission.idl | ||
nsICookieService.idl | ||
PCookieService.ipdl |