[tor-commits] [torbutton/master] Bug 31041: stop syncing network.cookie.lifetimePolicy

gk at torproject.org gk at torproject.org
Mon Jul 1 15:11:20 UTC 2019


commit a13b6c870afa18ac1c7747aa928f89b5706a9f44
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 tor-commits mailing list