Closed
Bug 1486926
Opened 6 years ago
Closed 6 years ago
Make the Disable Protection button in the control centre UI work for the reject foreign cookie behavior
Categories
(Core :: DOM: Security, enhancement)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(5 files)
10.64 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
12.45 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
5.10 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
1.71 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
Part 5: Pass the URI being checked to IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor()
1.40 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
Similar to bug 1486185 but for the reject foreign cookie behavior this time.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #9004692 -
Flags: review?(amarchesini)
Assignee | ||
Comment 2•6 years ago
|
||
Attachment #9004693 -
Flags: review?(amarchesini)
Assignee | ||
Comment 3•6 years ago
|
||
Attachment #9004694 -
Flags: review?(amarchesini)
Updated•6 years ago
|
Attachment #9004692 -
Flags: review?(amarchesini) → review+
Comment 4•6 years ago
|
||
Comment on attachment 9004693 [details] [diff] [review] Part 2: Refactor the antitracking mini-testsuite to make it pass the full cookieBehavior everywhere instead of a boolean Review of attachment 9004693 [details] [diff] [review]: ----------------------------------------------------------------- nice.
Attachment #9004693 -
Flags: review?(amarchesini) → review+
Updated•6 years ago
|
Attachment #9004694 -
Flags: review?(amarchesini) → review+
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/20f625526901 Part 1: Make the Disable Protection button in the control centre UI work for the reject foreign cookie behavior; r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/f6533c40954f Part 2: Refactor the antitracking mini-testsuite to make it pass the full cookieBehavior everywhere instead of a boolean; r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/fef913dda33d Part 3: Add tests to ensure that the reject foreign cookie behavior honours the Content Blocking allow list; r=baku
Assignee | ||
Comment 6•6 years ago
|
||
Attachment #9004861 -
Flags: review?(amarchesini)
Assignee | ||
Comment 7•6 years ago
|
||
Otherwise, this function will fail when the THIRD_PARTY_FORCE_ALLOW flag has been set on the channel.
Attachment #9004865 -
Flags: review?(amarchesini)
Comment 8•6 years ago
|
||
Backed out 5 changesets (bug 1486926)for multiple failures Backout push: https://hg.mozilla.org/integration/mozilla-inbound/rev/b6be51ee00aa8a2a18962d8074e804d5c75186e0 Pushes with the failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=fef913dda33d078a92d24b526d6e047ca157634b https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=b536e2deff083321e88293769360f3be8042baba Failures and log files: - browser chrome failures at browser/components/enterprisepolicies/tests/browser/browser_policy_cookie_settings.js https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=fef913dda33d078a92d24b526d6e047ca157634b&selectedJob=196439983 - xpcshell failures at extensions/cookie/test/unit/test_cookies_thirdparty.js https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=fef913dda33d078a92d24b526d6e047ca157634b&selectedJob=196439061
Flags: needinfo?(ehsan)
Comment 9•6 years ago
|
||
Comment on attachment 9004861 [details] [diff] [review] Part 4: Check the return value of IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor() Review of attachment 9004861 [details] [diff] [review]: ----------------------------------------------------------------- have you checked other uses in AntiTrackingCommon code?
Attachment #9004861 -
Flags: review?(amarchesini) → review+
Updated•6 years ago
|
Attachment #9004865 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Andrea Marchesini [:baku] from comment #9) > Comment on attachment 9004861 [details] [diff] [review] > Part 4: Check the return value of IsThirdPartyChannel() in > IsFirstPartyStorageAccessGrantedFor() > > Review of attachment 9004861 [details] [diff] [review]: > ----------------------------------------------------------------- > > have you checked other uses in AntiTrackingCommon code? There aren't any others!
Flags: needinfo?(ehsan)
Comment 11•6 years ago
|
||
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5093d71e4d21 Part 1: Make the Disable Protection button in the control centre UI work for the reject foreign cookie behavior; r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/3f02c577646a Part 2: Refactor the antitracking mini-testsuite to make it pass the full cookieBehavior everywhere instead of a boolean; r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/3a7a27ada2fc Part 3: Add tests to ensure that the reject foreign cookie behavior honours the Content Blocking allow list; r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/4074f7b21fa4 Part 4: Check the return value of IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor(); r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/7e7fc27e6660 Part 5: Pass the URI being checked to IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor(); r=baku
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5093d71e4d21 https://hg.mozilla.org/mozilla-central/rev/3f02c577646a https://hg.mozilla.org/mozilla-central/rev/3a7a27ada2fc https://hg.mozilla.org/mozilla-central/rev/4074f7b21fa4 https://hg.mozilla.org/mozilla-central/rev/7e7fc27e6660
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•