gecko-dev/toolkit/components/antitracking
Benjamin VanderSloot 57b9951a5d Bug 1872896 - Add deprecation console message for cookies that are foreign and not Partitioned - r=timhuang,cookie-reviewers,anti-tracking-reviewers
In order to do this, I had to alter how we do third-party cookie blocking under CHIPS + TCP.

Before we performed the block in CheckPrefs, where we haven't parsed the cookie header (which can have multiple cookie lines) yet.
Instead, I added a new argument into CanSetCookie, which says if the cookie needs to be partitioned to be accepted (TCP && foreign && not unpartitioned).
Then inside of CanSetCookie, if that is set we warn in the console and drop the cookie if the CHIPS preference is set. The warning changes based on that pref too.

Differential Revision: https://phabricator.services.mozilla.com/D197711
2024-01-09 15:52:30 +00:00
..
bouncetrackingprotection Bug 1867529 - Replace waitForObserverMessage helper in BounceTrackingProtection tests with TestUtils.topicObserved. r=pbz,anti-tracking-reviewers 2023-12-01 13:57:55 +00:00
data Bug 1861692 - Added more versions of domains for pre-exisiting for site specific parameters.r=pbz,anti-tracking-reviewers 2023-11-01 15:18:55 +00:00
docs
test Bug 1872896 - Add deprecation console message for cookies that are foreign and not Partitioned - r=timhuang,cookie-reviewers,anti-tracking-reviewers 2024-01-09 15:52:30 +00:00
AntiTrackingIPCUtils.h Bug 1847990 - Canvas fingerprinting telemetry. r=timhuang,anti-tracking-reviewers 2023-11-13 10:05:22 +00:00
AntiTrackingLog.h
AntiTrackingRedirectHeuristic.cpp Bug 1835913 - Deprecating RejectForeignAllowList. r=bvandersloot,anti-tracking-reviewers 2023-09-14 15:41:40 +00:00
AntiTrackingRedirectHeuristic.h
AntiTrackingUtils.cpp Bug 1858143 - "has storage access" should only persist during navigations that do not change the iframe's window origin - r=anti-tracking-reviewers,smaug,pbz 2023-10-26 14:24:14 +00:00
AntiTrackingUtils.h Bug 1858494 - Return permission action rather than boolean when fetching the storage access permission from the parent process - r=timhuang,anti-tracking-reviewers 2023-10-12 16:58:22 +00:00
ContentBlockingAllowList.cpp
ContentBlockingAllowList.h
ContentBlockingAllowList.sys.mjs
ContentBlockingLog.cpp Bug 1863280 - Part 2: Adding STATE_BLOCKED_SUSPICIOUS_FINGERPRINTING to ContentBlockingLog. r=pbz,anti-tracking-reviewers 2023-11-16 00:22:46 +00:00
ContentBlockingLog.h Bug 1863280 - Part 2: Adding STATE_BLOCKED_SUSPICIOUS_FINGERPRINTING to ContentBlockingLog. r=pbz,anti-tracking-reviewers 2023-11-16 00:22:46 +00:00
ContentBlockingNotifier.cpp Bug 1864168 - Part 2: Use 1-origin column number in nsJSUtils::GetCallingLocation. r=smaug,anti-tracking-reviewers,devtools-reviewers,ochameau,pbz 2023-11-22 12:31:31 +00:00
ContentBlockingNotifier.h Bug 1847990 - Font fingerprinting detection and telemetry. r=timhuang,jfkthame,anti-tracking-reviewers 2023-11-13 10:05:22 +00:00
ContentBlockingTelemetryService.cpp
ContentBlockingTelemetryService.h
ContentBlockingUserInteraction.cpp Bug 1839916 - Extend ContentBlockingUserInteraction to call BounceTrackingProtection on user interaction. r=bvandersloot,anti-tracking-reviewers 2023-07-18 08:26:22 +00:00
ContentBlockingUserInteraction.h
DynamicFpiRedirectHeuristic.cpp Bug 1845286 - Added another check to the Dynamic FPI Redirect Heuristic to avoid giving storage access to Same-Site origins. r=bvandersloot,anti-tracking-reviewers 2023-08-11 15:55:10 +00:00
DynamicFpiRedirectHeuristic.h
PartitioningExceptionList.cpp
PartitioningExceptionList.h
PartitioningExceptionListService.sys.mjs
PurgeTrackerService.sys.mjs Bug 1854940 - Part 2: Add a CookieBannerCleaner to ClearDataService. r=pbz,geckoview-reviewers,anti-tracking-reviewers,amejiamarmol 2023-11-09 08:29:16 +00:00
SettingsChangeObserver.cpp
SettingsChangeObserver.h
StorageAccess.cpp Bug 1835913 - Deprecating RejectForeignAllowList. r=bvandersloot,anti-tracking-reviewers 2023-09-14 15:41:40 +00:00
StorageAccess.h
StorageAccessAPIHelper.cpp Bug 1848783, part 4 - Don't send storage-access status update to same-origin frames in frame-only mode - r=anti-tracking-reviewers,timhuang 2023-09-21 01:48:48 +00:00
StorageAccessAPIHelper.h Bug 1837168 - Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers 2023-09-21 01:48:47 +00:00
StoragePrincipalHelper.cpp
StoragePrincipalHelper.h
TemporaryAccessGrantObserver.cpp
TemporaryAccessGrantObserver.h
TrackingDBService.sys.mjs Bug 1859247 - Part 1: Introducing SUSPICIOUS_FINGERPRINTERS_ID to nsITrackingDBService. r=anti-tracking-reviewers,pbz 2023-12-08 15:24:20 +00:00
URLDecorationAnnotationsService.sys.mjs
URLDecorationStripper.cpp
URLDecorationStripper.h
URLQueryStringStripper.cpp Bug 1833105 - Added two histogram telemetry checks for clean copy. r=pbz,anti-tracking-reviewers 2023-10-31 01:58:20 +00:00
URLQueryStringStripper.h Bug 1836248 - Integrate the extended stripOnShare feature into the URLQueryStringStripper. r=pbz,anti-tracking-reviewers 2023-07-13 11:29:17 +00:00
URLQueryStrippingListService.sys.mjs Bug 1842581 - Added tests to ensure functionality of clean copy and modified StripOnShare.json. r=pbz,anti-tracking-reviewers 2023-10-19 15:05:05 +00:00
antitracking.manifest
components.conf
jar.mn Bug 1836248 - Integrate the extended stripOnShare feature into the URLQueryStringStripper. r=pbz,anti-tracking-reviewers 2023-07-13 11:29:17 +00:00
moz.build Bug 1859899 - Batch 17 Migrate toolkit/* xpcshell.ini -> .toml. r=aryx,extension-reviewers,anti-tracking-reviewers,robwu,pbz 2023-11-29 04:58:09 +00:00
nsIContentBlockingAllowList.idl
nsIPartitioningExceptionListService.idl
nsIPurgeTrackerService.idl
nsITrackingDBService.idl Bug 1859247 - Part 1: Introducing SUSPICIOUS_FINGERPRINTERS_ID to nsITrackingDBService. r=anti-tracking-reviewers,pbz 2023-12-08 15:24:20 +00:00
nsIURLDecorationAnnotationsService.idl
nsIURLQueryStringStripper.idl
nsIURLQueryStrippingListService.idl Bug 1842581 - Added tests to ensure functionality of clean copy and modified StripOnShare.json. r=pbz,anti-tracking-reviewers 2023-10-19 15:05:05 +00:00