Privacy/Features/Per-Site Third-Party Cookie Setting: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 20: Line 20:
|Feature ux design=* This project is focused on laying the foundation for per-site third party cookies and the ability to adjust settings in about:permissions.
|Feature ux design=* This project is focused on laying the foundation for per-site third party cookies and the ability to adjust settings in about:permissions.
* Some ideas on how to make these settings easier for users to manage are listed here: https://wiki.mozilla.org/Privacy/Features/Per-Site_Third-Party_Cookie_Setting/Brainstorm_UX
* Some ideas on how to make these settings easier for users to manage are listed here: https://wiki.mozilla.org/Privacy/Features/Per-Site_Third-Party_Cookie_Setting/Brainstorm_UX
|Feature implementation plan=* Add new consts to nsICookiePermission:
|Feature implementation plan=* Add new consts to nsICookiePermission {{bug|770691}}
** nsICookiePermission::ALLOW_THIRD_PARTY, DENY_THIRD_PARTY
** nsICookiePermission::ALLOW_THIRD_PARTY, DENY_THIRD_PARTY
* Edit nsCookiePermission::CanSetCookie, CanAccess:
* Edit nsCookiePermission::CanSetCookie, CanAccess:
Line 35: Line 35:
** when it calls CanSetCookie: http://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/nsCookieService.cpp#2575
** when it calls CanSetCookie: http://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/nsCookieService.cpp#2575
** Edit nsCookieService::CheckPrefs
** Edit nsCookieService::CheckPrefs
*** http://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/nsCookieService.cpp#3063
*** We call CanAccess with nsnull for the aChannel: http://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/nsCookieService.cpp#3084


* UI
* UI: {{bug|}}
** about:permissions, add 'Set 3rd Party Cookies' (o) Allow (o) Deny
** about:permissions, add 'Set 3rd Party Cookies' (o) Allow (o) Deny
** This consumes the nsCookiePermissions API to add or remove new domain flags  
** This consumes the nsCookiePermissions API to add or remove new domain flags  
** File a bug: "Add 3rd party cookies to about:permissions"


* Testing
* Testing
564

edits