[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 10819: Bind new third party isolation pref to the Torbutton pref.
commit e4504d77dad74914803c902d3296de6c5c493e7f
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date: Fri Jun 27 09:42:46 2014 -0700
Bug 10819: Bind new third party isolation pref to the Torbutton pref.
This makes the UI option apply to this new pref.
---
src/chrome/content/torbutton.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index b149a30..3e7cf62 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1995,7 +1995,11 @@ function torbutton_update_fingerprinting_prefs() {
function torbutton_update_thirdparty_prefs() {
var mode = m_tb_prefs.getBoolPref("extensions.torbutton.restrict_thirdparty");
-
+
+ try {
+ m_tb_prefs.setBoolPref("privacy.thirdparty.isolate", mode);
+ } catch(e) {}
+
if (mode) {
m_tb_prefs.setIntPref("network.cookie.cookieBehavior", 1);
} else {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits