Commit 4cec079c authored by Alex Catarineu's avatar Alex Catarineu Committed by Georg Koppen
Browse files

Bug 31041: stop syncing network.cookie.lifetimePolicy

Also browser.download.manager.retention, since it's not
used anymore in the browser.
parent fc1b50e4
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment