[tor-commits] [torbutton/master] Bug 9387: Bind jar: pref to security slider

mikeperry at torproject.org mikeperry at torproject.org
Wed Feb 11 23:07:18 UTC 2015


commit 47ff237d15353ca6658fd1a4ef09aa0c6c993cc3
Author: Georg Koppen <gk at torproject.org>
Date:   Fri Jan 30 16:22:49 2015 +0000

    Bug 9387: Bind jar: pref to security slider
    
    We are binding the preference governing the jar: protocol handler to
    the security slider (see #12430 for more details).
---
 src/chrome/content/torbutton.js |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 9cdb792..567574f 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -234,6 +234,7 @@ var torbutton_unique_pref_observer =
             case "javascript.options.asmjs":
             case "noscript.forbidMedia":
             case "media.webaudio.enabled":
+            case "network.jar.block-remote-files":
             case "javascript.options.baselinejit.content":
             case "noscript.forbidFonts":
             case "gfx.font_rendering.graphite.enabled":
@@ -2160,6 +2161,7 @@ var torbutton_sec_ml_bool_prefs = {
   "javascript.options.asmjs" : false,
   "noscript.forbidMedia" : true,
   "media.webaudio.enabled" : false,
+  "network.jar.block-remote-files", true,
   // XXX: pref for disabling MathML is missing
 };
 





More information about the tor-commits mailing list