Bug 1575983 - Remove duplicate javascript.* and layers.* prefs r=njn

Removes 1 duplicate javascript.* and 9 layers.* prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

Differential Revision: https://phabricator.services.mozilla.com/D44560

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kristen Wright 2019-09-04 18:03:14 +00:00
Родитель c3adabc24f
Коммит 2d73ffcba8
2 изменённых файлов: 5 добавлений и 32 удалений

Просмотреть файл

@ -3924,10 +3924,10 @@
value: false value: false
mirror: always mirror: always
# Streams API # Streams API.
- name: javascript.options.streams - name: javascript.options.streams
type: RelaxedAtomicBool type: RelaxedAtomicBool
value: false value: true
mirror: always mirror: always
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@ -4348,9 +4348,10 @@
value: false value: false
mirror: always mirror: always
# Copy-on-write canvas.
- name: layers.shared-buffer-provider.enabled - name: layers.shared-buffer-provider.enabled
type: RelaxedAtomicBool type: RelaxedAtomicBool
value: false value: true
mirror: always mirror: always
- name: layers.single-tile.enabled - name: layers.single-tile.enabled
@ -4404,11 +4405,7 @@
- name: layers.tiles.edge-padding - name: layers.tiles.edge-padding
type: bool type: bool
#ifdef MOZ_WIDGET_ANDROID value: @IS_ANDROID@
value: true
#else
value: false
#endif
mirror: once mirror: once
- name: layers.tiles.fade-in.enabled - name: layers.tiles.fade-in.enabled

Просмотреть файл

@ -1267,9 +1267,6 @@ pref("javascript.options.dump_stack_on_debuggee_would_run", false);
pref("javascript.options.spectre.jit_to_C++_calls", true); pref("javascript.options.spectre.jit_to_C++_calls", true);
#endif #endif
// Streams API
pref("javascript.options.streams", true);
// Dynamic module import. // Dynamic module import.
pref("javascript.options.dynamicImport", true); pref("javascript.options.dynamicImport", true);
@ -4270,16 +4267,6 @@ pref("layers.max-active", -1);
pref("layers.offmainthreadcomposition.frame-rate", -1); pref("layers.offmainthreadcomposition.frame-rate", -1);
pref("layers.single-tile.enabled", true); pref("layers.single-tile.enabled", true);
pref("layers.low-precision-buffer", false);
pref("layers.progressive-paint", false);
pref("layers.tiles.retain-back-buffer", true);
#ifdef MOZ_WIDGET_ANDROID
pref("layers.tiles.edge-padding", true);
#else
pref("layers.tiles.edge-padding", false);
#endif
pref("layers.draw-mask-debug", false);
#ifdef MOZ_X11 #ifdef MOZ_X11
#ifdef MOZ_WIDGET_GTK #ifdef MOZ_WIDGET_GTK
@ -4293,9 +4280,6 @@ pref("layers.draw-mask-debug", false);
pref("widget.window-transforms.disabled", false); pref("widget.window-transforms.disabled", false);
// Copy-on-write canvas
pref("layers.shared-buffer-provider.enabled", true);
// Timeout for outbound network geolocation provider XHR // Timeout for outbound network geolocation provider XHR
pref("geo.wifi.xhr.timeout", 60000); pref("geo.wifi.xhr.timeout", 60000);
@ -4927,12 +4911,6 @@ pref("dom.payments.request.supportedRegions", "US,CA");
pref("toolkit.telemetry.overrideUpdateChannel", "nightly-asan"); pref("toolkit.telemetry.overrideUpdateChannel", "nightly-asan");
#endif #endif
#if defined(XP_WIN)
// Both this and the master "enabled" pref must be on to use Advanced Layers
// on Windows 7.
pref("layers.mlgpu.enable-on-windows7", true);
#endif
// Control whether clients.openWindow() opens windows in the same process // Control whether clients.openWindow() opens windows in the same process
// that called the API vs following our normal multi-process selection // that called the API vs following our normal multi-process selection
// algorithm. Restricting openWindow to same process improves service worker // algorithm. Restricting openWindow to same process improves service worker
@ -4962,8 +4940,6 @@ pref("dom.noopener.newprocess.enabled", true);
#else #else
pref("layers.omtp.enabled", false); pref("layers.omtp.enabled", false);
#endif #endif
pref("layers.omtp.release-capture-on-main-thread", false);
pref("layers.omtp.dump-capture", false);
// Limits the depth of recursive conversion of data when opening // Limits the depth of recursive conversion of data when opening
// a content to view. This is mostly intended to prevent infinite // a content to view. This is mostly intended to prevent infinite