From 3332144211abfcce21ed43c2ccb3d5cbdd026b64 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 29 Oct 2018 22:41:12 +0100 Subject: Set CSS error console reporting default to false for performance. Dev note needed upon release. This resolves #444. --- modules/libpref/init/all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index f7bef942f..957affa79 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2438,7 +2438,7 @@ pref("layout.word_select.stop_at_punctuation", true); pref("layout.selection.caret_style", 0); // pref to report CSS errors to the error console -pref("layout.css.report_errors", true); +pref("layout.css.report_errors", false); // Should the :visited selector ever match (otherwise :link matches instead)? pref("layout.css.visited_links_enabled", true); -- cgit v1.2.3 From 4a188c7b99a2cb7bbc335ef838d2d47f67810715 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 16:05:27 +0100 Subject: Make opportunistic encryption configurable. This adds a pref "network.http.opportunistic-encryption" that controls whether we send an "Upgrade-Insecure-Requests : 1" header on document navigation or not. This patch modifies the platform network parts. Default for the platform is "true". Part 1 for #863 --- modules/libpref/init/all.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 957affa79..4fb112567 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1374,6 +1374,9 @@ pref("network.tickle-wifi.delay", 16); // Turn off interprocess security checks. Needed to run xpcshell tests. pref("network.disable.ipc.security", false); +// Send upgrade-insecure-requests HTTP header +pref("network.http.opportunistic-encryption", true); + // Default action for unlisted external protocol handlers pref("network.protocol-handler.external-default", true); // OK to load pref("network.protocol-handler.warn-external-default", true); // warn before load -- cgit v1.2.3 From 359c9e5467a3d190e7c4ac085ac0788e918e9301 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 16:06:05 +0100 Subject: Change captive portal detection URL to our own. --- modules/libpref/init/all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 4fb112567..4c3fedaf3 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4980,7 +4980,7 @@ pref("network.captive-portal-service.maxInterval", 1500000); // 25 minutes pref("network.captive-portal-service.backoffFactor", "5.0"); pref("network.captive-portal-service.enabled", false); -pref("captivedetect.canonicalURL", "http://detectportal.firefox.com/success.txt"); +pref("captivedetect.canonicalURL", "http://detectportal.palemoon.org/success.txt"); pref("captivedetect.canonicalContent", "success\n"); pref("captivedetect.maxWaitingTime", 5000); pref("captivedetect.pollingTime", 3000); -- cgit v1.2.3 From 801382dd66b7edd39d43a7f85d7ccbfa8707e612 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 17:50:52 +0100 Subject: Swap default platform state for opportunistic encryption. Tag #863 --- modules/libpref/init/all.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 4c3fedaf3..8dbbefb6e 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1374,8 +1374,8 @@ pref("network.tickle-wifi.delay", 16); // Turn off interprocess security checks. Needed to run xpcshell tests. pref("network.disable.ipc.security", false); -// Send upgrade-insecure-requests HTTP header -pref("network.http.opportunistic-encryption", true); +// Send upgrade-insecure-requests HTTP header? +pref("network.http.opportunistic-encryption", false); // Default action for unlisted external protocol handlers pref("network.protocol-handler.external-default", true); // OK to load -- cgit v1.2.3 From 79487a1a05a9e912c63d7a5259db2eccfc59af2b Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 23:39:37 +0100 Subject: Backout opportunistic encryption changes. Apparently there is some functional and naming confusion here. Backing out to re-land after evaluation and possible changes. Tag #863. --- modules/libpref/init/all.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 8dbbefb6e..d64357e05 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1374,9 +1374,6 @@ pref("network.tickle-wifi.delay", 16); // Turn off interprocess security checks. Needed to run xpcshell tests. pref("network.disable.ipc.security", false); -// Send upgrade-insecure-requests HTTP header? -pref("network.http.opportunistic-encryption", false); - // Default action for unlisted external protocol handlers pref("network.protocol-handler.external-default", true); // OK to load pref("network.protocol-handler.warn-external-default", true); // warn before load -- cgit v1.2.3 From d29d1cc84b1c09ef7d0b93f03f957c7b99644910 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 5 Nov 2018 15:51:39 +0100 Subject: #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. --- modules/libpref/init/all.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index d64357e05..378745ea4 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1593,7 +1593,10 @@ pref("network.http.spdy.default-hpack-buffer", 65536); // 64k // alt-svc allows separation of transport routing from // the origin host without using a proxy. pref("network.http.altsvc.enabled", true); -pref("network.http.altsvc.oe", true); +// Opportunistic encryption use of alt-svc +pref("network.http.altsvc.oe", false); +// Send upgrade-insecure-requests HTTP header? +pref("network.http.upgrade-insecure-requests", false); pref("network.http.diagnostics", false); -- cgit v1.2.3 From 5c83a18cde404b5c0c9fba1d35f003d951ea32e2 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 7 Nov 2018 06:44:17 +0100 Subject: Update reported Firefox version in compatmode. This resolves #864 --- modules/libpref/init/all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 378745ea4..cae1d5890 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -23,7 +23,7 @@ pref("keyword.enabled", false); pref("general.useragent.locale", "chrome://global/locale/intl.properties"); pref("general.useragent.compatMode.gecko", false); pref("general.useragent.compatMode.firefox", false); -pref("general.useragent.compatMode.version", "52.9"); +pref("general.useragent.compatMode.version", "60.9"); pref("general.useragent.appVersionIsBuildID", false); // This pref exists only for testing purposes. In order to disable all -- cgit v1.2.3 From 7504ca8ab4b0a145488f03c51a0f78ffd5682174 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Nov 2018 16:41:20 +0100 Subject: Remove VR hardware support. This resolves #881 --- modules/libpref/init/all.js | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index cae1d5890..3fce0f486 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4898,30 +4898,6 @@ pref("dom.browserElement.maxScreenshotDelayMS", 2000); // Whether we should show the placeholder when the element is focused but empty. pref("dom.placeholder.show_on_focus", true); -// VR is disabled by default in release and enabled for nightly and aurora -#ifdef RELEASE_OR_BETA -pref("dom.vr.enabled", false); -#else -pref("dom.vr.enabled", true); -#endif -pref("dom.vr.oculus.enabled", true); -// OSVR device -pref("dom.vr.osvr.enabled", false); -// OpenVR device -pref("dom.vr.openvr.enabled", false); -// Pose prediction reduces latency effects by returning future predicted HMD -// poses to callers of the WebVR API. This currently only has an effect for -// Oculus Rift on SDK 0.8 or greater. It is disabled by default for now due to -// frame uniformity issues with e10s. -pref("dom.vr.poseprediction.enabled", false); -// path to openvr DLL -pref("gfx.vr.openvr-runtime", ""); -// path to OSVR DLLs -pref("gfx.vr.osvr.utilLibPath", ""); -pref("gfx.vr.osvr.commonLibPath", ""); -pref("gfx.vr.osvr.clientLibPath", ""); -pref("gfx.vr.osvr.clientKitLibPath", ""); - // MMS UA Profile settings pref("wap.UAProf.url", ""); pref("wap.UAProf.tagname", "x-wap-profile"); -- cgit v1.2.3