Closed Bug 1610373 Opened 4 years ago Closed 4 years ago

nsICookieManager should return cookies created after a certain date

Categories

(Core :: Privacy: Anti-Tracking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: ewright, Assigned: baku)

References

Details

Attachments

(2 files)

nsICookieManager cookies() provides all cookies. For cookie purging cookies, we want to be able to fetch cookies created after a certain date, preferably in order by date.

Services.cookies.cookies also gives too much information, we only need the host name.

Priority: -- → P2

Erica, do you still need this?

Flags: needinfo?(ewright)

I do, I will likely take care of it myself soon.

Flags: needinfo?(ewright)
Assignee: nobody → amarchesini
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a984dfddd43d
Introduce nsICookieManager::getCookieSince(), r=ewright
https://hg.mozilla.org/integration/autoland/rev/24b87cfe04ad
Introduce nsICookieManager::getCookieSince() - test, r=ewright
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Regressions: 1629090
Flags: needinfo?(amarchesini)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → NEW
Target Milestone: mozilla77 → ---

It seems a bug in cookie purging. Erica, what do you think?

Flags: needinfo?(amarchesini) → needinfo?(ewright)

Is actually this new method already in use?

Not in use AFAIK, and purging is not turned on yet. Seems strange that this bug should have caused any regressions. Wrong regression range?

No longer regressions: 1629090
Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37569d7296fb
Introduce nsICookieManager::getCookieSince(), r=ewright a=reland CLOSED TREE
https://hg.mozilla.org/integration/autoland/rev/02cb9beaae7d
Introduce nsICookieManager::getCookieSince() - test, r=ewright a=reland CLOSED TREE
Status: NEW → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Flags: needinfo?(ewright)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: