pub enum CookieExemptionReason {
None,
UserSetting,
TpcdMetadata,
TpcdDeprecationTrial,
TopLevelTpcdDeprecationTrial,
TpcdHeuristics,
EnterprisePolicy,
StorageAccess,
TopLevelStorageAccess,
Scheme,
SameSiteNoneCookiesInSandbox,
}Expand description
Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
Variants§
None
The default value. Cookie with this reason could either be blocked or included.
UserSetting
The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
TpcdMetadata
The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
TpcdDeprecationTrial
The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
TopLevelTpcdDeprecationTrial
The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
TpcdHeuristics
The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
EnterprisePolicy
The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
StorageAccess
The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
TopLevelStorageAccess
The cookie should have been blocked by 3PCD but is exempted by Top-level Storage Access API.
Scheme
The cookie should have been blocked by 3PCD but is exempted by the first-party URL scheme.
SameSiteNoneCookiesInSandbox
The cookie was included due to the ‘allow-same-site-none-cookies’ value being set in the sandboxing policy.
Trait Implementations§
Source§impl AsRef<str> for CookieExemptionReason
impl AsRef<str> for CookieExemptionReason
Source§impl Clone for CookieExemptionReason
impl Clone for CookieExemptionReason
Source§fn clone(&self) -> CookieExemptionReason
fn clone(&self) -> CookieExemptionReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more