diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-23 12:42:53 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-23 12:42:53 +0000 |
commit | 1126548deecfd736755f1e1b7e7d551b42e73780 (patch) | |
tree | d6ac5ee312951b8be872f268ab3aa4f41379d8b8 /modules | |
parent | 411ccb0e493c271eeb3202a6815027eb5ad199ed (diff) | |
download | uxp-1126548deecfd736755f1e1b7e7d551b42e73780.tar.gz |
Issue #1319 - Resolve RELEASE_OR_BETA questions in all.js
- Enabled SVG transform-box property. I've tested this extensively including the
bug that prevented Mozilla from shipping until 55 which does not seem to apply
to us (most likely a stylo issue). Should be good to go.
- Moved the getRootNode pref to a better place (no change)
- Enabled inputmode property for forms. This is n/a for physical keyboards but
should improve the experience for soft keyboards that can pop up various forms
of input (e.g. numeric) depending on the mode indicated. According to BZ this is
feature complete at our level but was problematic for Android which we don't
have support for anyway.
- Restricted crashing on insecure input of text to debug only.
- Enabled shutting down the async OSFile worker if not used for 30 seconds to
be more conscientious about resource use.
- Enabled blocking of autoplay of media in the background by default, since it
is a saner default to have for the OOBE and is commonly a desired setting by
users (see forum).
- Disabled the storage manager API by default. This fine-grained control over
stored website data is already handled by various extensions and we don't have
the front-end support for it. Assuming this was necessary for Mozilla due to
limited access of WebExtensions to this kind of data.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libpref/init/all.js | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 140237dc76..d53d00a0d8 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2886,11 +2886,8 @@ pref("svg.marker-improvements.enabled", true); // See https://svgwg.org/svg2-draft/single-page.html#types-SVGBoundingBoxOptions pref("svg.new-getBBox.enabled", false); -#ifdef RELEASE_OR_BETA -pref("svg.transform-box.enabled", false); -#else +// Is support for the transform-box property of SVG enabled? pref("svg.transform-box.enabled", true); -#endif // RELEASE_OR_BETA // Default font types and sizes by locale pref("font.default.ar", "sans-serif"); @@ -4745,11 +4742,7 @@ pref("dom.abortController.enabled", true); // Push pref("dom.push.enabled", false); - pref("dom.push.loglevel", "error"); - -pref("dom.getRootNode.enabled", false); - pref("dom.push.serverURL", "wss://push.services.mozilla.com/"); pref("dom.push.userAgentID", ""); @@ -4786,6 +4779,9 @@ pref("dom.push.http2.reset_retry_count_after_ms", 60000); pref("dom.push.http2.maxRetries", 2); pref("dom.push.http2.retryInterval", 5000); +// Whether WC getRootNode is available +pref("dom.getRootNode.enabled", false); + // WebNetworkStats pref("dom.mozNetworkStats.enabled", false); @@ -4970,13 +4966,11 @@ pref("captivedetect.maxWaitingTime", 5000); pref("captivedetect.pollingTime", 3000); pref("captivedetect.maxRetryCount", 5); -#ifdef RELEASE_OR_BETA -pref("dom.forms.inputmode", false); -#else +// Enable support for specifying inputmode for soft keyboards pref("dom.forms.inputmode", true); -#endif // InputMethods for soft keyboards in B2G +// XXX: is this still used? pref("dom.mozInputMethod.enabled", false); // Enable mapped array buffer by default. @@ -5189,8 +5183,8 @@ pref("dom.presentation.discoverable.retry_ms", 5000); pref("dom.presentation.session_transport.data_channel.enable", false); #ifdef XP_MACOSX -#if !defined(RELEASE_OR_BETA) || defined(DEBUG) -// In non-release builds we crash by default on insecure text input (when a +#if defined(DEBUG) +// In debug builds we crash by default on insecure text input (when a // password editor has focus but secure event input isn't enabled). The // following pref, when turned on, disables this behavior. See bug 1188425. pref("intl.allow-insecure-text-input", false); @@ -5394,24 +5388,18 @@ pref("media.default_volume", "1.0"); pref("media.seekToNextFrame.enabled", true); -// return the maximum number of cores that navigator.hardwareCurrency returns +// return the maximum number of cores that navigator.hardwareConcurrency returns pref("dom.maxHardwareConcurrency", 16); -// Shutdown the osfile worker if its no longer needed. -#if !defined(RELEASE_OR_BETA) +// Shutdown the async osfile worker if it's no longer needed. pref("osfile.reset_worker_delay", 30000); -#endif #if !defined(MOZ_WIDGET_ANDROID) pref("dom.webkitBlink.dirPicker.enabled", true); pref("dom.webkitBlink.filesystem.enabled", true); #endif -#ifdef NIGHTLY_BUILD pref("media.block-autoplay-until-in-foreground", true); -#else -pref("media.block-autoplay-until-in-foreground", false); -#endif #ifdef MOZ_STYLO // Is the Servo-backed style system enabled? @@ -5427,12 +5415,8 @@ pref("security.data_uri.block_toplevel_data_uri_navigations", true); // If true, all FTP subresource loads will be blocked. pref("security.block_ftp_subresources", true); -// Disable Storage api in release builds. -#ifdef NIGHTLY_BUILD -pref("dom.storageManager.enabled", true); -#else +// Disable Storage api by default. This needs specific front-end parts to be usable. pref("dom.storageManager.enabled", false); -#endif // DoS protection for HTTP Auth prompt spawning. // -1 = completely disable HTTP Auth prompting. (careful!) |