diff options
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r-- | modules/libpref/init/all.js | 67 |
1 files changed, 40 insertions, 27 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 7157f197e8..9707432c6e 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -188,11 +188,12 @@ pref("pdfjs.enableXfa", true); // Enable adding an image in a pdf. pref("pdfjs.enableStampEditor", true); -// Enable adding an image in a pdf. +// Enable highlighting in a pdf. +pref("pdfjs.enableHighlightEditor", true); #if defined(EARLY_BETA_OR_EARLIER) - pref("pdfjs.enableHighlightEditor", true); + pref("pdfjs.enableHighlightFloatingButton", true); #else - pref("pdfjs.enableHighlightEditor", false); + pref("pdfjs.enableHighlightFloatingButton", false); #endif // Disable support for MathML @@ -413,10 +414,6 @@ pref("gfx.downloadable_fonts.enabled", true); pref("gfx.downloadable_fonts.fallback_delay", 3000); pref("gfx.downloadable_fonts.fallback_delay_short", 100); -// disable downloadable font cache so that behavior is consistently -// the uncached load behavior across pages (useful for testing reflow problems) -pref("gfx.downloadable_fonts.disable_cache", false); - #ifdef XP_WIN pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true); #endif @@ -516,19 +513,6 @@ pref("ui.textHighlightBackground", "#ef0fff"); // The foreground color for the matched text in findbar highlighting // Used with nsISelectionController::SELECTION_FIND pref("ui.textHighlightForeground", "#ffffff"); -// The background color for :autofill-ed inputs. -// -// In the past, we used the following `filter` to paint autofill backgrounds: -// -// grayscale(21%) brightness(88%) contrast(161%) invert(10%) sepia(40%) saturate(206%); -// -// but there are some pages where using `filter` caused issues because it -// changes the z-order (see bug 1687682, bug 1727950). -// -// The color is chosen so that you get the same final color on a white -// background as the filter above (#fffcc8), but with some alpha so as to -// prevent fully illegible text. -pref("ui.-moz-autofill-background", "rgba(255, 249, 145, .5)"); // We want the ability to forcibly disable platform a11y, because // some non-a11y-related components attempt to bring it up. See bug @@ -639,6 +623,7 @@ pref("toolkit.telemetry.user_characteristics_ping.last_version_sent", 0); // the telemetry client id (which is not sent in this ping), it is cleared when a // user opts-out of telemetry, it is set upon first telemetry submission pref("toolkit.telemetry.user_characteristics_ping.uuid", ""); +pref("toolkit.telemetry.user_characteristics_ping.logLevel", "Warn"); // AsyncShutdown delay before crashing in case of shutdown freeze // ASan, TSan and code coverage builds can be considerably slower. Extend the @@ -959,6 +944,11 @@ pref("javascript.options.mem.gc_incremental_slice_ms", 5); // JSGC_COMPACTING_ENABLED pref("javascript.options.mem.gc_compacting", true); +#ifdef NIGHTLY_BUILD +// JSGC_SEMISPACE_NURSERY_ENABLED +pref("javascript.options.mem.gc_experimental_semispace_nursery", false); +#endif + // JSGC_PARALLEL_MARKING_ENABLED // This only applies to the main runtime and does not affect workers. #ifndef ANDROID @@ -1195,7 +1185,7 @@ pref("network.http.redirection-limit", 20); // NOTE: support for "compress" has been disabled per bug 196406. // NOTE: separate values with comma+space (", "): see bug 576033 pref("network.http.accept-encoding", "gzip, deflate"); -pref("network.http.accept-encoding.secure", "gzip, deflate, br"); +pref("network.http.accept-encoding.secure", "gzip, deflate, br, zstd"); // Prompt for redirects resulting in unsafe HTTP requests pref("network.http.prompt-temp-redirect", false); @@ -1241,7 +1231,11 @@ pref("network.http.network-changed.timeout", 5); // The maximum number of current global half open sockets allowable // when starting a new speculative connection. -pref("network.http.speculative-parallel-limit", 6); +#ifdef ANDROID + pref("network.http.speculative-parallel-limit", 6); +#else + pref("network.http.speculative-parallel-limit", 20); +#endif // Whether or not to block requests for non head js/css items (e.g. media) // while those elements load. @@ -3476,13 +3470,24 @@ pref("browser.search.removeEngineInfobar.enabled", true); // Enables a new search configuration style with no functional changes for the // user. This is solely intended as a rollout button - it will go away once the // new configuration has been rolled out. +// Whether search-config-v2 is enabled. +#ifdef NIGHTLY_BUILD +pref("browser.search.newSearchConfig.enabled", true); +#else pref("browser.search.newSearchConfig.enabled", false); +#endif // GMPInstallManager prefs // User-settable override to media.gmp-manager.url for testing purposes. //pref("media.gmp-manager.url.override", ""); +// When |media.gmp-manager.allowLocalSources| is true, we will allow falling +// back to using the plugin configurations distributed with Firefox to update +// or install plugins. This fallback is only used when we fail to get an +// acceptable configuration via |media.gmp-manager.url|. +pref("media.gmp-manager.allowLocalSources", true); + // Update service URL for GMP install/updates: pref("media.gmp-manager.url", "https://aus5.mozilla.org/update/3/GMP/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml"); @@ -3556,7 +3561,19 @@ pref("reader.line_height", 4); pref("reader.color_scheme", "auto"); // Color scheme values available in reader mode UI. -pref("reader.color_scheme.values", "[\"light\",\"dark\",\"sepia\",\"auto\"]"); +pref("reader.color_scheme.values", "[\"auto\",\"light\",\"dark\",\"sepia\",\"contrast\",\"gray\"]"); + +// Determines if updated color theme menu is enabled in reader mode. +pref("reader.colors_menu.enabled", false); + +// The custom color scheme options in reader colors menu. +pref("reader.custom_colors.foreground", ""); +pref("reader.custom_colors.background", ""); + +pref("reader.custom_colors.unvisited-links", ""); +pref("reader.custom_colors.visited-links", ""); + +pref("reader.custom_colors.selection-highlight", ""); // The font type in reader (sans-serif, serif) pref("reader.font_type", "sans-serif"); @@ -3663,10 +3680,6 @@ pref("browser.ml.logLevel", "Error"); // To disable blocking of auth prompts, set the limit to -1. pref("prompts.authentication_dialog_abuse_limit", 2); -// The prompt type to use for http auth prompts -// content: 1, tab: 2, window: 3 -pref("prompts.modalType.httpAuth", 2); - pref("dom.payments.request.supportedRegions", "US,CA"); #ifdef MOZ_ASAN_REPORTER |