зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1588650 - Remove duplicate prefs from mobile.js r=njn
Removes all of the duplicate prefs from mobile.js and StaticPrefList.yaml where the `value` field is the same. Carries over comments from mobile.js where needed. Differential Revision: https://phabricator.services.mozilla.com/D49357 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7a5b8a6a4f
Коммит
3d06abd056
|
@ -58,7 +58,6 @@ pref("toolkit.storage.synchronous", 0);
|
|||
// thus we can't use exclusive locking on it.
|
||||
pref("storage.multiProcessAccess.enabled", true);
|
||||
|
||||
pref("browser.viewport.desktopWidth", 980);
|
||||
// The default fallback zoom level to render pages at. Set to -1 to fit page; otherwise
|
||||
// the value is divided by 1000 and clamped to hard-coded min/max scale values.
|
||||
pref("browser.viewport.defaultZoom", -1);
|
||||
|
@ -104,7 +103,6 @@ pref("network.buffer.cache.count", 24);
|
|||
pref("network.buffer.cache.size", 16384);
|
||||
|
||||
// predictive actions
|
||||
pref("network.predictor.enabled", true);
|
||||
pref("network.predictor.max-db-size", 2097152); // bytes
|
||||
pref("network.predictor.preserve", 50); // percentage of predictor data to keep when cleaning up
|
||||
|
||||
|
@ -294,12 +292,6 @@ pref("gfx.displayport.strategy_vb.danger_y_incr", -1); // additional danger zone
|
|||
// prediction bias strategy options
|
||||
pref("gfx.displayport.strategy_pb.threshold", -1); // velocity threshold in inches/frame
|
||||
|
||||
// Allow 24-bit colour when the hardware supports it
|
||||
pref("gfx.android.rgb16.force", false);
|
||||
|
||||
// Use SurfaceTextures as preferred backend for TextureClient/Host
|
||||
pref("gfx.use-surfacetexture-textures", false);
|
||||
|
||||
// don't allow JS to move and resize existing windows
|
||||
pref("dom.disable_window_move_resize", true);
|
||||
|
||||
|
@ -350,9 +342,6 @@ pref("devtools.debugger.unix-domain-socket", "@ANDROID_PACKAGE_NAME@/firefox-deb
|
|||
pref("devtools.remote.usb.enabled", false);
|
||||
pref("devtools.remote.wifi.enabled", false);
|
||||
|
||||
// When true, zooming will be enabled on all sites, even ones that declare user-scalable=no.
|
||||
pref("browser.ui.zoom.force-user-scalable", false);
|
||||
|
||||
// With the typical screen sizes on mobile devices, we want to wrap page sources by default.
|
||||
pref("view_source.wrap_long_lines", true);
|
||||
|
||||
|
@ -372,10 +361,6 @@ pref("ui.mouse.radius.bottommm", 2);
|
|||
pref("ui.mouse.radius.visitedWeight", 120);
|
||||
pref("ui.mouse.radius.reposition", true);
|
||||
|
||||
// The percentage of the screen that needs to be scrolled before toolbar
|
||||
// manipulation is allowed.
|
||||
pref("browser.ui.scroll-toolbar-threshold", 10);
|
||||
|
||||
// Maximum distance from the point where the user pressed where we still
|
||||
// look for text to select
|
||||
pref("browser.ui.selection.distance", 250);
|
||||
|
@ -473,7 +458,6 @@ pref("editor.singleLine.pasteNewlines", 2);
|
|||
pref("ui.dragThresholdX", 25);
|
||||
pref("ui.dragThresholdY", 25);
|
||||
|
||||
pref("layers.acceleration.disabled", false);
|
||||
pref("layers.async-video.enabled", true);
|
||||
|
||||
// APZ physics settings (fling acceleration, fling curving and axis lock) have
|
||||
|
@ -491,7 +475,6 @@ pref("apz.fling_curve_threshold_inches_per_ms", "0.01");
|
|||
// apz.fling_friction and apz.fling_stopped_threshold are currently ignored by Fennec.
|
||||
pref("apz.fling_friction", "0.004");
|
||||
pref("apz.fling_stopped_threshold", "0.0");
|
||||
pref("apz.frame_delay.enabled", true);
|
||||
pref("apz.max_velocity_inches_per_ms", "0.07");
|
||||
pref("apz.overscroll.enabled", true);
|
||||
pref("apz.second_tap_tolerance", "0.3");
|
||||
|
@ -503,8 +486,6 @@ pref("dom.visualviewport.enabled", true);
|
|||
|
||||
pref("layers.progressive-paint", true);
|
||||
pref("layers.low-precision-buffer", true);
|
||||
pref("layers.low-precision-resolution", "0.25");
|
||||
pref("layers.low-precision-opacity", "1.0");
|
||||
// We want to limit layers for two reasons:
|
||||
// 1) We can't scroll smoothly if we have to many draw calls
|
||||
// 2) Pages that have too many layers consume too much memory and crash.
|
||||
|
@ -513,7 +494,6 @@ pref("layers.low-precision-opacity", "1.0");
|
|||
pref("layers.max-active", 20);
|
||||
|
||||
pref("notification.feature.enabled", true);
|
||||
pref("dom.webnotifications.enabled", true);
|
||||
|
||||
// prevent tooltips from showing up
|
||||
pref("browser.chrome.toolbar_tips", false);
|
||||
|
@ -538,9 +518,6 @@ pref("media.video-queue.default-size", 3);
|
|||
// (the most recent) image data.
|
||||
pref("media.video-queue.send-to-compositor-size", 1);
|
||||
|
||||
// Enable MSE
|
||||
pref("media.mediasource.enabled", true);
|
||||
|
||||
pref("media.mediadrm-widevinecdm.visible", true);
|
||||
|
||||
// Switch block autoplay logic to v2.
|
||||
|
@ -558,9 +535,6 @@ pref("media.gmp-gmpopenh264.enabled", true);
|
|||
// Disable future downloads of OpenH264 on Android
|
||||
pref("media.gmp-gmpopenh264.autoupdate", false);
|
||||
|
||||
// optimize images memory usage
|
||||
pref("image.downscale-during-decode.enabled", true);
|
||||
|
||||
// The download protection UI is not implemented yet (bug 1239094).
|
||||
pref("browser.safebrowsing.downloads.enabled", false);
|
||||
|
||||
|
|
|
@ -967,11 +967,15 @@
|
|||
value: false
|
||||
mirror: always
|
||||
|
||||
# The percentage of the screen that needs to be scrolled before toolbar
|
||||
# manipulation is allowed.
|
||||
- name: browser.ui.scroll-toolbar-threshold
|
||||
type: RelaxedAtomicInt32
|
||||
value: 10
|
||||
mirror: always
|
||||
|
||||
# When true, zooming will be enabled on all sites, even ones that declare
|
||||
# user-scalable=no.
|
||||
- name: browser.ui.zoom.force-user-scalable
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
|
@ -3123,6 +3127,7 @@
|
|||
value: true
|
||||
mirror: once
|
||||
|
||||
# Allow 24-bit colour when the hardware supports it.
|
||||
- name: gfx.android.rgb16.force
|
||||
type: bool
|
||||
value: false
|
||||
|
@ -3465,6 +3470,7 @@
|
|||
value: false
|
||||
mirror: once
|
||||
|
||||
# Use SurfaceTextures as preferred backend for TextureClient/Host.
|
||||
- name: gfx.use-surfacetexture-textures
|
||||
type: bool
|
||||
value: false
|
||||
|
|
|
@ -19,6 +19,7 @@ IGNORE_PREFS = {
|
|||
'devtools.console.stdout.content', # Uses the 'sticky' attribute.
|
||||
'fission.autostart', # Uses the 'locked' attribute.
|
||||
'browser.dom.window.dump.enabled', # Uses the 'sticky' attribute.
|
||||
'apz.fling_curve_function_y2', # This pref is a part of a series.
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче