Bug 1575983 - Remove duplicate gfx.* prefs, part 3 r=njn

Removes the remaining 7 duplicate gfx.* 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/D44266

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kristen Wright 2019-09-02 23:46:41 +00:00
Родитель a692b7d4a0
Коммит 2880e3e378
2 изменённых файлов: 8 добавлений и 22 удалений

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

@ -3124,9 +3124,11 @@
value: false
mirror: always
# 0 = Off, 1 = Full, 2 = Tagged Images Only.
# See eCMSMode in gfx/thebes/gfxPlatform.h.
- name: gfx.color_management.mode
type: RelaxedAtomicInt32
value: -1
value: 2
mirror: always
# The zero default here should match QCMS_INTENT_DEFAULT from qcms.h
@ -3276,9 +3278,10 @@
value: true
mirror: always
# Whether OTS validation should be applied to OpenType Layout (OTL) tables.
- name: gfx.downloadable_fonts.otl_validation
type: RelaxedAtomicBool
value: true
value: @IS_NOT_RELEASE_OR_BETA@
mirror: always
- name: gfx.draw-color-bars
@ -3317,6 +3320,7 @@
mirror: always
rust: true
# Whether to enable LayerScope tool and default listening port.
- name: gfx.layerscope.enabled
type: RelaxedAtomicBool
value: false
@ -3395,6 +3399,8 @@
value: 0
mirror: always
# Log severe performance warnings to the error console and profiles.
# This should be use to quickly find which slow paths are used by test cases.
- name: gfx.perf-warnings.enabled
type: RelaxedAtomicBool
value: false

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

@ -665,20 +665,7 @@ pref("layout.scroll.root-frame-containers", false);
pref("layout.scrollbars.always-layerize-track", false);
// Whether to enable LayerScope tool and default listening port
pref("gfx.layerscope.enabled", false);
pref("gfx.layerscope.port", 23456);
// Log severe performance warnings to the error console and profiles.
// This should be use to quickly find which slow paths are used by test cases.
pref("gfx.perf-warnings.enabled", false);
// 0 = Off, 1 = Full, 2 = Tagged Images Only.
// See eCMSMode in gfx/thebes/gfxPlatform.h
pref("gfx.color_management.mode", 2);
pref("gfx.color_management.display_profile", "");
pref("gfx.color_management.rendering_intent", 0);
pref("gfx.color_management.enablev4", false);
pref("gfx.downloadable_fonts.enabled", true);
pref("gfx.downloadable_fonts.fallback_delay", 3000);
@ -688,13 +675,6 @@ pref("gfx.downloadable_fonts.fallback_delay_short", 100);
// the uncached load behavior across pages (useful for testing reflow problems)
pref("gfx.downloadable_fonts.disable_cache", false);
// Whether OTS validation should be applied to OpenType Layout (OTL) tables
#ifdef RELEASE_OR_BETA
pref("gfx.downloadable_fonts.otl_validation", false);
#else
pref("gfx.downloadable_fonts.otl_validation", true);
#endif
#ifdef ANDROID
pref("gfx.bundled_fonts.enabled", true);
pref("gfx.bundled_fonts.force-enabled", false);