gecko-dev/extensions/cookie
Chris Peterson f38368c9cc Bug 1160368 - Part 1: Add flag to treat third-party cookies set over nonsecure HTTP as session cookies. r=jdm
"Nonsecure HTTP" here just means regular, not-HTTPS HTTP. It doesn't mean HTTPS without the `Secure` cookie flag. Honor the expiration time of third-party cookies set over HTTPS, whether or not they have the `Secure` cookie flag. If a third-party cookie is set over HTTPS and then later sent in nonsecure HTTP request (which is allowed for cookies without the `Secure` cookie flag), the cookie won't be turned into a session cookie unless the nonsecure HTTP response sets a new cookie value.

This feature is controlled by the pref "network.cookie.thirdparty.nonsecureSessionOnly".

MozReview-Commit-ID: HlCg21JyvNC

--HG--
rename : extensions/cookie/test/unit/test_cookies_thirdparty_session.js => extensions/cookie/test/unit/test_cookies_thirdparty_nonsecure_session.js
extra : source : d1be2e4265201efd3ee93e965ac68561f548fd05
extra : intermediate-source : f5b382fa1b70e30a907b1f10d74f8c0c6dff344e
2017-02-16 19:27:49 -08:00
..
test Bug 1160368 - Part 1: Add flag to treat third-party cookies set over nonsecure HTTP as session cookies. r=jdm 2017-02-16 19:27:49 -08:00
moz.build Bug 1362791 - Enable testing permissions using URIs without having to mint principals; r=mystor 2017-05-20 00:59:09 -04:00
nsCookieModule.cpp Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
nsCookiePermission.cpp Bug 1399590 - Modify the argument of nsICookiePermission::CanAccess for changing nsIURI to nsIPrincipal. r=jdm 2017-10-03 14:37:11 +08:00
nsCookiePermission.h Bug 1234875 - Remove alwaysAcceptSessionCookies pref. r=mak 2016-01-26 14:54:21 +01:00
nsPermission.cpp Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
nsPermission.h Bug 1302047 - Ignore userContextId and firstPartyDomain when matching permissions. r=baku 2016-09-20 16:35:21 +08:00
nsPermissionManager.cpp Bug 1379560 - Part 1 - Add a default permission pref in the permission manager. r=mystor,Paolo 2017-07-10 23:13:43 +02:00
nsPermissionManager.h Bug 1379560 - Part 1 - Add a default permission pref in the permission manager. r=mystor,Paolo 2017-07-10 23:13:43 +02:00
nsPopupWindowManager.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsPopupWindowManager.h