summaryrefslogtreecommitdiffstats
path: root/application/basilisk/app/profile/basilisk.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-05 15:51:39 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-05 15:51:39 +0100
commitd29d1cc84b1c09ef7d0b93f03f957c7b99644910 (patch)
treef579f6921e61429cadb6f5b609117f6c6759ac78 /application/basilisk/app/profile/basilisk.js
parent512f78874adfd1de407d087fc2e15716ef9fcfe2 (diff)
downloadUXP-d29d1cc84b1c09ef7d0b93f03f957c7b99644910.tar
UXP-d29d1cc84b1c09ef7d0b93f03f957c7b99644910.tar.gz
UXP-d29d1cc84b1c09ef7d0b93f03f957c7b99644910.tar.lz
UXP-d29d1cc84b1c09ef7d0b93f03f957c7b99644910.tar.xz
UXP-d29d1cc84b1c09ef7d0b93f03f957c7b99644910.zip
#863 part 2: Make opportunistic encryption opt-in for UXP
This exposes the new pref and also sets the Alt-Svc pref for OE to false. Basilisk gets a default opt-in for both to stay close to Firefox.
Diffstat (limited to 'application/basilisk/app/profile/basilisk.js')
-rw-r--r--application/basilisk/app/profile/basilisk.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/basilisk/app/profile/basilisk.js b/application/basilisk/app/profile/basilisk.js
index eeec29eb9..cff5f599f 100644
--- a/application/basilisk/app/profile/basilisk.js
+++ b/application/basilisk/app/profile/basilisk.js
@@ -580,6 +580,10 @@ pref("network.captive-portal-service.enabled", true);
// If true, network link events will change the value of navigator.onLine
pref("network.manage-offline-status", true);
+// Enable opportunistic encryption by default
+pref("network.http.altsvc.oe", true);
+pref("network.http.upgrade-insecure-requests", true);
+
// We want to make sure mail URLs are handled externally...
pref("network.protocol-handler.external.mailto", true); // for mail
pref("network.protocol-handler.external.news", true); // for news