summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-18 08:24:24 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-18 08:24:24 +0200
commitfc61780b35af913801d72086456f493f63197da6 (patch)
treef85891288a7bd988da9f0f15ae64e5c63f00d493 /modules
parent69f7f9e5f1475891ce11cc4f431692f965b0cd30 (diff)
parent50d3e596bbe89c95615f96eb71f6bc5be737a1db (diff)
downloadUXP-fc61780b35af913801d72086456f493f63197da6.tar
UXP-fc61780b35af913801d72086456f493f63197da6.tar.gz
UXP-fc61780b35af913801d72086456f493f63197da6.tar.lz
UXP-fc61780b35af913801d72086456f493f63197da6.tar.xz
UXP-fc61780b35af913801d72086456f493f63197da6.zip
Merge commit '50d3e596bbe89c95615f96eb71f6bc5be737a1db' into Basilisk-releasev2018.07.18
# Conflicts: # browser/app/profile/firefox.js # browser/components/preferences/jar.mn
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js21
1 files changed, 18 insertions, 3 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index d2266f812..7172a8a90 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -42,8 +42,7 @@ pref("browser.cache.auto_delete_cache_version", 0);
// Preference for switching the cache backend, can be changed freely at runtime
// 0 - use the old (Darin's) cache
// 1 - use the new cache back-end (cache v2)
-pref("browser.cache.use_new_backend", 0);
-pref("browser.cache.use_new_backend_temp", true);
+pref("browser.cache.backend", 1);
pref("browser.cache.disk.enable", true);
// Is this the first-time smartsizing has been introduced?
@@ -156,6 +155,9 @@ pref("dom.select_events.textcontrols.enabled", true);
pref("dom.select_events.textcontrols.enabled", false);
#endif
+// Whether or not the document visbility API is enabled
+pref("dom.visibilityAPI.enabled", true);
+
// Whether or not Web Workers are enabled.
pref("dom.workers.enabled", true);
@@ -208,6 +210,10 @@ pref("dom.enable_performance_observer", false);
// Enable requestIdleCallback API
pref("dom.requestIdleCallback.enabled", true);
+// Enable Intersection Observers
+// See WD https://w3c.github.io/IntersectionObserver/
+pref("dom.IntersectionObserver.enabled", false);
+
// Whether the Gamepad API is enabled
pref("dom.gamepad.enabled", true);
pref("dom.gamepad.test.enabled", false);
@@ -1217,7 +1223,11 @@ pref("privacy.donottrackheader.enabled", false);
// Enforce tracking protection in all modes
pref("privacy.trackingprotection.enabled", false);
// Enforce tracking protection in Private Browsing mode
+#ifdef MOZ_SAFE_BROWSING
pref("privacy.trackingprotection.pbmode.enabled", true);
+#else
+pref("privacy.trackingprotection.pbmode.enabled", false);
+#endif
pref("dom.event.contextmenu.enabled", true);
pref("dom.event.clipboardevents.enabled", true);
@@ -3385,7 +3395,7 @@ pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families",
"Arial,Consolas,Courier New,Microsoft Sans Serif,Segoe UI,Tahoma,Trebuchet MS,Verdana");
// The maximum size at which we will force GDI classic mode using
// force_gdi_classic_for_families.
-pref("gfx.font_rendering.cleartype_params.force_gdi_classic_max_size", 15);
+pref("gfx.font_rendering.cleartype_params.force_gdi_classic_max_size", 17);
pref("ui.key.menuAccessKeyFocuses", true);
@@ -4336,6 +4346,11 @@ pref("image.http.accept", "image/webp,image/png,image/*;q=0.8,*/*;q=0.5");
// disable.
pref("image.infer-src-animation.threshold-ms", 2000);
+// Whether to always optimize to image layers. Setting this to true will increase
+// performance of downscaled large images at the expense of visual quality,
+// because we can't use HQ downscaling in image layers.
+pref("image.layerize.always", false);
+
//
// Image memory management prefs
//