Closed Bug 1547889 Opened 1 year ago Closed 1 year ago

Port the rest of AntiTrackingCommon.cpp to the CookieSettings API

Categories

(Core :: Privacy: Anti-Tracking, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: ehsan, Assigned: ehsan)

Details

Attachments

(3 files)

There are places in the file where we're reading the cookieBehavior pref directly currently which need to be fixed.

Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43a08bca736a
Part 1: Port AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to the cookie settings API; r=baku
https://hg.mozilla.org/integration/autoland/rev/29f01b943d7f
Part 2: Port AntiTrackingCommon::MaybeIsFirstPartyStorageAccessGrantedFor() to the cookie settings API; r=baku
https://hg.mozilla.org/integration/autoland/rev/7b30d0ee0b8c
Part 3: Require the caller of the AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(nsIPrincipal*) API pass in a cookie setting object; r=baku
You need to log in before you can comment on or make changes to this bug.