mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
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.
This commit is contained in:
parent
78599bd818
commit
74680d59a1
1 changed files with 11 additions and 27 deletions
|
|
@ -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");
|
||||
|
|
@ -4753,11 +4750,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", "");
|
||||
|
||||
|
|
@ -4794,6 +4787,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);
|
||||
|
||||
|
|
@ -4978,13 +4974,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.
|
||||
|
|
@ -5197,8 +5191,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);
|
||||
|
|
@ -5410,24 +5404,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?
|
||||
|
|
@ -5443,12 +5431,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!)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue