[tor-commits] [tor-browser/tor-browser-81.0b9-10.0-1] fixup! Bug 40125: Expose Security Level pref in GeckoView

gk at torproject.org gk at torproject.org
Sat Oct 3 07:07:25 UTC 2020


commit 25a55bb83c7bda3ca20ba9ecc5446b6fe372fb5e
Author: Matthew Finkel <sysrqb at torproject.org>
Date:   Sat Oct 3 03:25:41 2020 +0000

    fixup! Bug 40125: Expose Security Level pref in GeckoView
    
    Bug 40173: Set security_level pref default value as Standard
---
 .../src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java b/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
index 84b58f4ead40..1df03536e5cd 100644
--- a/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
@@ -519,7 +519,7 @@ public final class GeckoRuntimeSettings extends RuntimeSettings {
     /* package */ final Pref<Boolean> mAutofillLogins = new Pref<Boolean>(
         "signon.autofillForms", true);
     /* package */ final Pref<Integer> mTorSecurityLevel = new Pref<>(
-        "extensions.torbutton.security_slider", 0);
+        "extensions.torbutton.security_slider", 4);
 
     /* package */ int mPreferredColorScheme = COLOR_SCHEME_SYSTEM;
 



More information about the tor-commits mailing list