Closed
Bug 1788907
Opened 4 years ago
Closed 3 years ago
Support multiple domains per CookieBannerRule
Categories
(Core :: Privacy: Anti-Tracking, task, P2)
Core
Privacy: Anti-Tracking
Tracking
()
RESOLVED
FIXED
109 Branch
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: emz, Assigned: emz)
References
Details
Attachments
(4 external files)
For sites that are not covered by global rules (to be implemented), but still have multiple domains showing the same banner we currently have to create multiple duplicate rules, one per domain.
We can update the format of CookieBannerRule to accept an array of domains.
On import nsCookieBannerService#insertRule can simply set the same rule object for multiple domains in the hash map.
Example use cases (different domains, same banner):
- StackExchange sites (StackOverflow etc)
- Google search (country tlds)
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → pbz
Status: NEW → ASSIGNED
Updated•3 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D163356
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D163357
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D163358
Pushed by mlaza@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/8d25eaf53c7d
Add support for multiple domains per nsICookieBannerRule. r=timhuang
https://hg.mozilla.org/mozilla-central/rev/900cb877982a
Avoid static_cast for conversion from nsICookie to net::Cookie. r=timhuang
https://hg.mozilla.org/mozilla-central/rev/022ad7affbc9
Backwards compatibility for single-domain cookie banner rules. r=timhuang
https://hg.mozilla.org/mozilla-central/rev/21cb6588a290
Update tests for nsICookieBannerRule domains field. r=timhuang
Comment 6•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8d25eaf53c7d
https://hg.mozilla.org/mozilla-central/rev/900cb877982a
https://hg.mozilla.org/mozilla-central/rev/022ad7affbc9
https://hg.mozilla.org/mozilla-central/rev/21cb6588a290
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•