Implement Cookie Banner Clicking
Categories
(Core :: Privacy: Anti-Tracking, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: timhuang, Assigned: timhuang)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
The cookie banner clicking will be responsible for detecting if the cookie banner is present on the page and try to click either Reject All
or Accept All
button.
Assignee | ||
Comment 1•2 years ago
|
||
This patch adds four fields into the nsICookieBannerRule that are used
for the banner clicking. It also updates the CookieBannerListService.jsm
to also import the click rule.
Assignee | ||
Comment 2•2 years ago
|
||
This patch implements the nsIClickRule that represents the rule that we
need to do in the page in order to handle the cookie banner. We also
implments the nsICookieBannerService.getClickRuleForDoamin() that allows
the click rule to be acquired from the service for the given domain.
Depends on D154804
Assignee | ||
Comment 3•2 years ago
|
||
The patch implements a CookieBanner JSWindowActor. The CookieBanner
actor will be created when the DOMContentLoaded event files, and try to
detect the cookie banner and click the button to handle it.
Depends on D154805
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D154806
Comment 6•2 years ago
|
||
Backed out for causing xpcshell failures complaining about CookieBanner
Backout link: https://hg.mozilla.org/integration/autoland/rev/98400db7c4525da8aa8b66a562af1e0382d007ba
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=388190705&repo=autoland&lineNumber=7210
https://treeherder.mozilla.org/logviewer?job_id=388192173&repo=autoland&lineNumber=4388
Assignee | ||
Updated•2 years ago
|
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bc72e8315883
https://hg.mozilla.org/mozilla-central/rev/325242371824
https://hg.mozilla.org/mozilla-central/rev/99e43adb64de
https://hg.mozilla.org/mozilla-central/rev/41410adb6177
Description
•