From 3dbef5fefb6d2a63dc1ee4170fb5fa876c0f57ae Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Tue, 30 Dec 2014 14:25:51 -0500 Subject: [PATCH] Bug 1116555 - Remove the code to handle shutdown-cleanse from the cookie service; r=mcmanus shutdown-cleanse has not been a thing for quite a while. --- netwerk/cookie/nsCookieService.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/netwerk/cookie/nsCookieService.cpp b/netwerk/cookie/nsCookieService.cpp index ef53b64bea2..f00bf3491fc 100644 --- a/netwerk/cookie/nsCookieService.cpp +++ b/netwerk/cookie/nsCookieService.cpp @@ -1551,11 +1551,6 @@ nsCookieService::Observe(nsISupports *aSubject, if (!strcmp(aTopic, "profile-before-change")) { // The profile is about to change, // or is going away because the application is shutting down. - if (mDBState && mDBState->dbConn && - !nsCRT::strcmp(aData, MOZ_UTF16("shutdown-cleanse"))) { - // Clear the cookie db if we're in the default DBState. - RemoveAll(); - } // Close the default DB connection and null out our DBStates before // changing.