gecko-dev/netwerk/cookie
Tom Ritter b732796900 Bug 1770498: Create ShouldRFP(nsILoadInfo) and make ShouldRFP(nsIPrincipal) explicitly dangerous r=timhuang
- Move ShouldRFP(char*), ShouldRFP(docshell), ShouldRFP(Document)
  below some utility code.

- Now that we know we should check the CookieJarSettings, using
  ShouldRFP(nsIPrincipal) is dangerous.  We mark it as dangerous
  and annotate the existing uses of it.

- At the same time, an nsILoadInfo has the CookieJarSettings we
  want to check, so create a ShouldRFP(nsILoadInfo) that checks
  it and cascades to the (marked-dangerous-but-not-dangerous-for-
  this-call) principal function.

- We also correct a situation where WorkerLoadInfo does not
  initialize the shouldRFP member.

Differential Revision: https://phabricator.services.mozilla.com/D150591
2022-07-15 20:39:20 +00:00
..
test Backed out 3 changesets (bug 1750972) for potential site breakage. 2022-07-13 12:36:32 +03:00
Cookie.cpp Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb 2022-04-05 08:20:25 +00:00
Cookie.h Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz 2022-06-15 14:51:16 +00:00
CookieCommons.cpp Bug 1770498: Populate the RFP member of CookieJar Settings r=timhuang,geckoview-reviewers,owlish 2022-07-15 20:39:19 +00:00
CookieCommons.h Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz 2022-06-15 14:51:16 +00:00
CookieJarSettings.cpp Bug 1770498: Create ShouldRFP(nsILoadInfo) and make ShouldRFP(nsIPrincipal) explicitly dangerous r=timhuang 2022-07-15 20:39:20 +00:00
CookieJarSettings.h Bug 1770498: Populate the RFP member of CookieJar Settings r=timhuang,geckoview-reviewers,owlish 2022-07-15 20:39:19 +00:00
CookieKey.h
CookieLogging.cpp
CookieLogging.h
CookiePersistentStorage.cpp Bug 1675829 - Allow disabling the cookie database in the profile with network.cookie.noPersistentStorage. r=baku 2022-03-18 04:20:02 +00:00
CookiePersistentStorage.h Bug 1675829 - Allow disabling the cookie database in the profile with network.cookie.noPersistentStorage. r=baku 2022-03-18 04:20:02 +00:00
CookiePrivateStorage.cpp
CookiePrivateStorage.h Bug 1675829 - Allow disabling the cookie database in the profile with network.cookie.noPersistentStorage. r=baku 2022-03-18 04:20:02 +00:00
CookieService.cpp Bug 1758745 - Refactor EffectiveStoragePrincipal to EffectiveCookiePrincipal and create new function EffectiveStoragePrincipal that is never unpartitioned; r=bvandersloot 2022-07-15 13:26:17 +00:00
CookieService.h Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz 2022-06-15 14:51:16 +00:00
CookieServiceChild.cpp Bug 1758745 - Refactor EffectiveStoragePrincipal to EffectiveCookiePrincipal and create new function EffectiveStoragePrincipal that is never unpartitioned; r=bvandersloot 2022-07-15 13:26:17 +00:00
CookieServiceChild.h
CookieServiceParent.cpp Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz 2022-06-15 14:51:16 +00:00
CookieServiceParent.h Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz 2022-06-15 14:51:16 +00:00
CookieStorage.cpp Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb 2022-04-05 08:20:25 +00:00
CookieStorage.h Bug 1675829 - Allow disabling the cookie database in the profile with network.cookie.noPersistentStorage. r=baku 2022-03-18 04:20:02 +00:00
CookieXPCShellUtils.jsm
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
nsICookie.idl Backed out changeset 9cc08c2f20be (bug 239460) for causing build bustage. CLOSED TREE 2022-04-07 03:02:28 +03:00
nsICookieJarSettings.idl Bug 1770498: Add RFP to CookieJarSettings r=timhuang 2022-07-15 20:39:18 +00:00
nsICookieManager.idl
nsICookiePermission.idl
nsICookieService.idl Bug 1764761 - Remove cookie.lifetimePolicy macros ACCEPT_SESSION/NORMALLY. r=pbz,timhuang 2022-06-29 17:33:38 +00:00
PCookieService.ipdl Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz 2022-06-15 14:51:16 +00:00