gecko-dev/netwerk/cookie
Kris Maglione c86bc6b1ea Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm
These methods return an addrefed raw pointer, which makes them easy to use in
ways that cause leaks. If they're to continue returning an addrefed pointer,
they should explicitly return an already_AddRefed.

This also switches to StaticRefPtr with ClearOnShutdown for the cached
pointers for the sake of sanity.

MozReview-Commit-ID: D0lDpU8Hqug

--HG--
extra : rebase_source : 7b199070805fc0472eaf8409932517700ed23d49
2017-09-04 15:05:10 -07:00
..
test Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
CookieServiceChild.cpp Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm 2017-09-04 15:05:10 -07:00
CookieServiceChild.h Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm 2017-09-04 15:05:10 -07:00
CookieServiceParent.cpp Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm 2017-09-04 15:05:10 -07:00
CookieServiceParent.h Bug 1331680 - Part 3: Broadcast cookie changes to all content processes. r=jdm 2017-08-03 18:00:12 +08:00
PCookieService.ipdl Bug 1331680 - Part 3: Broadcast cookie changes to all content processes. r=jdm 2017-08-03 18:00:12 +08:00
moz.build Bug 1331680 - Part 1: Send required cookies to the content process on demand. r=jdm 2017-08-03 19:00:41 +08:00
nsCookie.cpp Bug 1355631 - Cache the network.cookie.staleThreshold in nsCookie, and compute it lazily; r=jdm 2017-04-14 16:02:02 -04:00
nsCookie.h Bug 1331680 - Part 1: Send required cookies to the content process on demand. r=jdm 2017-08-03 19:00:41 +08:00
nsCookieKey.h Bug 1331680 - Part 0: Extract nsCookieKey. r=jdm 2017-08-03 17:56:33 +08:00
nsCookieService.cpp Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm 2017-09-04 15:05:10 -07:00
nsCookieService.h Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm 2017-09-04 15:05:10 -07:00
nsICookie.idl
nsICookie2.idl
nsICookieManager.idl Bug 1354229 - use private cookie DB in nsICookieManager depending on OriginAttributes r=jdm 2017-06-09 18:00:06 +02:00
nsICookieManager2.idl Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
nsICookiePermission.idl
nsICookieService.idl Bug 1370454 - Part2: Expose runInTransaction in nsICookieService.idl, r=jduell 2017-06-06 05:36:00 +02:00