[tbb-commits] [torbutton/master] Bug 15562: Bind SharedWorkers to thirdparty pref

gk at torproject.org gk at torproject.org
Mon Apr 6 08:07:27 UTC 2015


commit d8d7f2a0d36407d1461666487238b2321e506db4
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date:   Thu Apr 2 17:47:05 2015 -0700

    Bug 15562: Bind SharedWorkers to thirdparty pref
---
 src/chrome/content/torbutton.js |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index ffa214f..c071ec3 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -2221,6 +2221,7 @@ function torbutton_update_thirdparty_prefs() {
       m_tb_prefs.setIntPref("network.cookie.cookieBehavior", 0);
     }
 
+    m_tb_prefs.setBoolPref("dom.workers.sharedWorkers.enabled", !mode);
     m_tb_prefs.setBoolPref("security.enable_tls_session_tickets", !mode);
 
     // Force prefs to be synced to disk



More information about the tbb-commits mailing list