Add flag for blocked social cookies in the content blocking log
Categories
(Core :: Privacy: Anti-Tracking, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: nhnt11, Assigned: nhnt11)
References
Details
Attachments
(4 files)
Bug 1576641 added STATE_COOKIES_LOADED_SOCIALTRACKER. It would be useful to have a corresponding STATE_COOKIES_BLOCKED_SOCIALTRACKER. This flag would be emitted whenever we block a third-party cookie from a social origin.
The frontend currently infers this flag by checking STATE_LOADED_SOCIALTRACKING_CONTENT && STATE_COOKIES_BLOCKED_TRACKER
- but these two flags might not have been emitted for the same resource.
I talked to Ehsan about this and I'm going to try and make a patch.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D47427
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
This change will fix bug 1580925.
The patches attached so far build successfully and SEEM to work correctly for me, but let's wait for try results [1]. Once I have the results, I expect to attach more patches to fix tests (and probably add a new one for this flag).
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0f0d846cc300f4aa6d5f2b3b2f91647b26f4f13
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=46a5c0b84edbb3297b1c8ed5223321a91918ebe7
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
(In reply to Nihanth Subramanya [:nhnt11] from comment #3)
This change will fix bug 1580925.
The patches attached so far build successfully and SEEM to work correctly for me, but let's wait for try results [1]. Once I have the results, I expect to attach more patches to fix tests (and probably add a new one for this flag).
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0f0d846cc300f4aa6d5f2b3b2f91647b26f4f13
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=46a5c0b84edbb3297b1c8ed5223321a91918ebe7
Try shows that I missed updating an assertion somehow, and that there's one frontend social tracking test that's failing. I'll update the patch and push to try again.
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D47428
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D47427
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=274172747&repo=autoland&lineNumber=22216
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=b0d9877bd8b07ad3b77196e35c1be702ba85ba93
Backout:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=274172747&repo=autoland&lineNumber=22216
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3ff3e93332d0
https://hg.mozilla.org/mozilla-central/rev/d0f91ad7450c
https://hg.mozilla.org/mozilla-central/rev/8da9387aac08
https://hg.mozilla.org/mozilla-central/rev/16aac90f6572
Assignee | ||
Updated•5 years ago
|
Description
•