gecko-dev/netwerk/cookie
Kershaw Chang cca49915e3 Bug 1487085 - Allow to set cookie with a null channel in child process, r=valentin
In the current implmentation of CookieServiceChild::SetCookieString, pass a null channel will crash the child process. This is because we call aChannel->GetURI() without checking if aChannel is null.
However, set cookie with a null channel is possible in non-e10s mode. To make sure the behavior to be consistent in both non-e10s and e10s mode, we have to pass an empty URIParams in child process.

Differential Revision: https://phabricator.services.mozilla.com/D5432

--HG--
extra : moz-landing-system : lando
2018-09-12 15:14:32 +00:00
..
test Bug 1488441 - Extend cookie's expiring time from 1s to 3s r=jdm 2018-09-05 18:24:51 +00:00
CookieServiceChild.cpp Bug 1487085 - Allow to set cookie with a null channel in child process, r=valentin 2018-09-12 15:14:32 +00:00
CookieServiceChild.h Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 7 - cookies, r=ehsan 2018-07-10 10:09:59 +02:00
CookieServiceParent.cpp Bug 1487085 - Allow to set cookie with a null channel in child process, r=valentin 2018-09-12 15:14:32 +00:00
CookieServiceParent.h Bug 1487085 - Allow to set cookie with a null channel in child process, r=valentin 2018-09-12 15:14:32 +00:00
PCookieService.ipdl Bug 1487085 - Allow to set cookie with a null channel in child process, r=valentin 2018-09-12 15:14:32 +00:00
moz.build Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
nsCookie.cpp Bug 1488115 - Part 2: Replace the usage of nsUTF8ConverterService in nsCookie.cpp with the mozilla/Encoding.h API; r=hsivonen 2018-09-03 14:58:50 -04:00
nsCookie.h Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin 2018-04-30 19:46:04 +03:00
nsCookieKey.h Backed out changeset 9035ff3757ac (bug 1415980) at request from froydnj on the suspicion that it's going to break MSVC builds when it gets merged to central. 2018-07-31 01:19:49 +03:00
nsCookieService.cpp Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
nsCookieService.h Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
nsICookie.idl
nsICookie2.idl Bug 1286858 - Data storage and interface changes for SameSite cookies. r=valentin 2017-09-25 01:27:04 +08:00
nsICookieManager.idl Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh 2017-10-31 13:02:28 +01:00
nsICookiePermission.idl Bug 1488784 - Part 2: Remove the XPCOM component registration for nsCookiePermission; r=jdm 2018-09-05 11:56:17 -04:00
nsICookieService.idl Bug 1480780 - Merge the privacy.3rdpartystorage.enabled pref with the network.cookie.cookieBehavior pref; r=ehsan 2018-08-13 16:01:16 -04:00