[tbb-commits] [torbutton/maint-2.1] Bug 31041: stop syncing network.cookie.lifetimePolicy

gk at torproject.org gk at torproject.org
Mon Jul 1 15:14:36 UTC 2019


commit 4cec079c058d5756a47f9d661b7aea7a95d31076
Author: Alex Catarineu <acat at torproject.org>
Date:   Mon Jul 1 14:51:15 2019 +0200

    Bug 31041: stop syncing network.cookie.lifetimePolicy
    
    Also browser.download.manager.retention, since it's not
    used anymore in the browser.
---
 src/chrome/content/torbutton.js | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 53fe4fc9..971d3023 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1527,14 +1527,6 @@ function torbutton_update_disk_prefs() {
     // Third party abuse. Leave it off for now.
     //m_tb_prefs.setBoolPref("browser.cache.offline.enable", !mode);
 
-    if (mode) {
-        m_tb_prefs.setIntPref("network.cookie.lifetimePolicy", 2);
-        m_tb_prefs.setIntPref("browser.download.manager.retention", 1);
-    } else {
-        m_tb_prefs.setIntPref("network.cookie.lifetimePolicy", 0);
-        m_tb_prefs.setIntPref("browser.download.manager.retention", 2);
-    }
-
     // Force prefs to be synced to disk
     Services.prefs.savePrefFile(null);
 }



More information about the tbb-commits mailing list