Backed out changeset 2c633215c514 (bug 1482055) for causing bug 1500505.

This commit is contained in:
Ryan VanderMeulen 2018-10-19 13:32:56 -04:00
Родитель 90d51e6cd9
Коммит 7482d4da97
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -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) {