diff --git a/browser/modules/Sanitizer.jsm b/browser/modules/Sanitizer.jsm index e283c909450f..6e0b7950ff07 100644 --- a/browser/modules/Sanitizer.jsm +++ b/browser/modules/Sanitizer.jsm @@ -711,14 +711,6 @@ async function sanitizeSessionPrincipals() { return; } - // When PREF_COOKIE_LIFETIME is set to ACCEPT_SESSION, any new cookie will be - // marked as session only. But we don't touch the existing ones. For this - // reason, here we delete any existing cookie, at shutdown. - await new Promise(resolve => { - Services.clearData.deleteData(Ci.nsIClearDataService.CLEAR_COOKIES, - resolve); - }); - let principals = await new Promise(resolve => { quotaManagerService.getUsage(request => { if (request.resultCode != Cr.NS_OK) {