Package org.mozilla.geckoview
Class ContentBlocking.CookieBehavior
Object
org.mozilla.geckoview.ContentBlocking.CookieBehavior
- Enclosing class:
- ContentBlocking
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accept first-party and third-party cookies and site data.static final int
Accept only first-party cookies and site data to block cookies which are not associated with the domain of the visited site.static final int
Enable dynamic first party isolation (dFPI); this will block third-party tracking cookies in accordance with the ETP level and isolate non-tracking third-party cookies.static final int
Accept only first-party and non-tracking third-party cookies and site data to block cookies which are not associated with the domain of the visited site set by known trackers.static final int
Do not store any cookies and site data.static final int
Accept first-party and third-party cookies and site data only from sites previously visited in a first-party context. -
Constructor Summary
-
Method Summary
-
Field Details
-
ACCEPT_ALL
public static final int ACCEPT_ALLAccept first-party and third-party cookies and site data.- See Also:
-
ACCEPT_FIRST_PARTY
public static final int ACCEPT_FIRST_PARTYAccept only first-party cookies and site data to block cookies which are not associated with the domain of the visited site.- See Also:
-
ACCEPT_NONE
public static final int ACCEPT_NONEDo not store any cookies and site data.- See Also:
-
ACCEPT_VISITED
public static final int ACCEPT_VISITEDAccept first-party and third-party cookies and site data only from sites previously visited in a first-party context.- See Also:
-
ACCEPT_NON_TRACKERS
public static final int ACCEPT_NON_TRACKERSAccept only first-party and non-tracking third-party cookies and site data to block cookies which are not associated with the domain of the visited site set by known trackers.- See Also:
-
ACCEPT_FIRST_PARTY_AND_ISOLATE_OTHERS
public static final int ACCEPT_FIRST_PARTY_AND_ISOLATE_OTHERSEnable dynamic first party isolation (dFPI); this will block third-party tracking cookies in accordance with the ETP level and isolate non-tracking third-party cookies.- See Also:
-
-
Constructor Details
-
CookieBehavior
protected CookieBehavior()
-