Name Description Size
antitracking.manifest 122
AntiTrackingIPCUtils.h 2902
AntiTrackingLog.h 3519
AntiTrackingRedirectHeuristic.cpp 13218
AntiTrackingRedirectHeuristic.h 1567
AntiTrackingUtils.cpp static 34126
AntiTrackingUtils.h 7855
components.conf 2880
ContentBlockingAllowList.cpp static 8396
ContentBlockingAllowList.h 2137
ContentBlockingAllowList.sys.mjs A helper module to manage the Content Blocking Allow List. This module provides a couple of utility APIs for adding or removing a given browser object to the Content Blocking allow list. 3332
ContentBlockingLog.cpp 18958
ContentBlockingLog.h 12748
ContentBlockingNotifier.cpp 21272
ContentBlockingNotifier.h 3585
ContentBlockingTelemetryService.cpp static 3816
ContentBlockingTelemetryService.h 899
ContentBlockingUserInteraction.cpp static 3582
ContentBlockingUserInteraction.h 1003
DynamicFpiRedirectHeuristic.cpp 11026
DynamicFpiRedirectHeuristic.h 700 811 2705
nsIContentBlockingAllowList.idl This file contains an interface to the ContentBlockingAllowList. 794
nsIPartitioningExceptionListService.idl Observer for exception list updates. 1837
nsIPurgeTrackerService.idl Purge cookies and associated data of sites which no longer have the user interaction permission. 574
nsITrackingDBService.idl Record entries from a content blocking log in the tracking database. This function is typically called at the end of the document lifecycle, since calling it multiple times results in multiple new entries. @param data a json string containing the content blocking log. 2074
nsIURLDecorationAnnotationsService.idl A service that monitors updates to the anti-tracking URL decoration annotations from remote settings. 1003
nsIURLQueryStringStripper.idl nsIURLQueryStringStripper is responsible for stripping certain part of the query string of the given URI to address the bounce(redirect) tracking issues. It will strip every query parameter which matches the strip list defined in the pref 'privacy.query_stripping.strip_list'. Note that It's different from URLDecorationStripper which strips the entire query string from the referrer if there is a tracking query parameter present in the URI. TODO: Given that nsIURLQueryStringStripper and URLDecorationStripper are doing similar things. We could somehow combine these two modules into one. We will improve this in the future. 1700
nsIURLQueryStrippingListService.idl Observer for query stripping list updates. 4348
PartitioningExceptionList.cpp 6242
PartitioningExceptionList.h 1953
PartitioningExceptionListService.sys.mjs 4071
PurgeTrackerService.sys.mjs 17088
SettingsChangeObserver.cpp 4077
SettingsChangeObserver.h 1289
StorageAccess.cpp Checks if storage for a given principal is permitted by the user's preferences. Ways this function is used: - aPrincipal, aWindow, optional aURI, others don't care: does this principal have storage access, testing this window's sandboxing and if it is third-party. If aURI is provided, we use that for the window's third party comparisons. - aPrincipal, aChannel, aWindow=nullptr, others don't care: does this principal have storage access, testing if this channel is third-party. Note that this ignores aURI. - aPrincipal, optional aCookieJarSettings, aWindow=nullptr, aChannel=nullptr, aURI don't care: does this principal have storage access (assuming it is in a first-party context and not sandboxed). If we aren't given a cookieJarSettings, we build one with the principal. In all of these cases, we test: - if aPrincipal is a NullPrincipal, denying - if this is for an about URI, allowing (maybe with private browsing constraints) We test the aWindow's extant doc's URI's, aURI's, and aPrincipal's scheme to be "about". We also send a decision to the ContentBlockingNotifier if we have aWindow or aChannel and didn't stop at the NullPrincipal or about: checks. Used in the implementation of StorageAllowedForWindow, StorageAllowedForDocument, StorageAllowedForChannel and StorageAllowedForServiceWorker. 32132
StorageAccess.h Checks if storage for the given window is permitted by a combination of the user's preferences, and whether the window is a third-party iframe. This logic is intended to be shared between the different forms of persistent storage which are available to web pages. Cookies don't use this logic, and security logic related to them must be updated separately. 6597
StorageAccessAPIHelper.cpp static 50878
StorageAccessAPIHelper.h 11144
StoragePrincipalHelper.cpp 21587
StoragePrincipalHelper.h 15608
TemporaryAccessGrantObserver.cpp 3387
TemporaryAccessGrantObserver.h 2616
TrackingDBService.sys.mjs All SQL statements should be defined here. 12494
URLDecorationAnnotationsService.sys.mjs 2022
URLDecorationStripper.cpp 2496
URLDecorationStripper.h 758
URLQueryStringStripper.cpp 12744
URLQueryStringStripper.h 2068
URLQueryStrippingListService.sys.mjs 11926