mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1547813 - Part 1: Introduce nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
This new code designates our new cookie policy for blocking cookies and storage access from third-party trackers and partitioning the cookie jar of the rest of third-party resources. Differential Revision: https://phabricator.services.mozilla.com/D29736 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
582ea00aa6
commit
564ae33dab
@ -90,8 +90,9 @@ interface nsICookieService : nsISupports
|
||||
const uint32_t BEHAVIOR_LIMIT_FOREIGN = 3; // reject third-party cookies unless the
|
||||
// eTLD already has at least one cookie
|
||||
const uint32_t BEHAVIOR_REJECT_TRACKER = 4; // reject trackers
|
||||
const uint32_t BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN = 5; // reject trackers, partition third-party cookies
|
||||
// When adding a new cookie behavior, please increase this value!
|
||||
const uint32_t BEHAVIOR_LAST = 4;
|
||||
const uint32_t BEHAVIOR_LAST = 5;
|
||||
|
||||
/*
|
||||
* Possible values for the "network.cookie.lifetimePolicy" preference.
|
||||
|
Loading…
Reference in New Issue
Block a user