Bug 1363998 - Part2. Add pref "layers.advanced.background-color" to all.js and turn it on for certain reftests. r=kats

This commit is contained in:
Ethan Lin 2017-05-18 17:40:18 +08:00
Родитель a036611f1c
Коммит 501bd51b08
3 изменённых файлов: 5 добавлений и 1 удалений

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

@ -490,7 +490,7 @@ private:
DECL_GFX_PREF(Live, "layers.acceleration.draw-fps.print-histogram", FPSPrintHistogram, bool, false);
DECL_GFX_PREF(Live, "layers.acceleration.draw-fps.write-to-file", WriteFPSToFile, bool, false);
DECL_GFX_PREF(Once, "layers.acceleration.force-enabled", LayersAccelerationForceEnabledDoNotUseDirectly, bool, false);
DECL_GFX_PREF(Live, "layers.advanced.background-color", LayersAllowBackgroundColorLayers, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.background-color", LayersAllowBackgroundColorLayers, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.background-image", LayersAllowBackgroundImage, false);
DECL_GFX_PREF(Live, "layers.advanced.basic-layer.enabled", LayersAdvancedBasicLayerEnabled, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.border-layers", LayersAllowBorderLayers, false);

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

@ -1987,6 +1987,9 @@ fuzzy(2,20000) == 1315113-2.html 1315113-2-ref.html
fuzzy(2,40000) == 1316719-1a.html 1316719-1-ref.html
fuzzy(2,40000) == 1316719-1b.html 1316719-1-ref.html
fuzzy(2,40000) == 1316719-1c.html 1316719-1-ref.html
pref(layers.advanced.background-color,1) fuzzy-if(!webrender,2,40000) fuzzy-if(webrender,27,700) == 1316719-1a.html 1316719-1-ref.html
pref(layers.advanced.background-color,1) fuzzy-if(!webrender,2,40000) fuzzy-if(webrender,27,700) == 1316719-1b.html 1316719-1-ref.html
pref(layers.advanced.background-color,1) fuzzy-if(!webrender,2,40000) fuzzy-if(webrender,27,700) == 1316719-1c.html 1316719-1-ref.html
skip-if(Android) != 1318769-1.html 1318769-1-ref.html
fails-if(stylo) == 1322512-1.html 1322512-1-ref.html
== 1330051.svg 1330051-ref.svg

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

@ -5709,6 +5709,7 @@ pref("fuzzing.enabled", false);
// it to a boolean as appropriate. In particular, do NOT add ifdefs here to
// turn these on and off, instead use the conditional-pref code in gfxPrefs.h
// to do that.
pref("layers.advanced.background-color", 2);
pref("layers.advanced.border-layers", 2);
pref("layers.advanced.boxshadow-inset-layers", 2);
pref("layers.advanced.boxshadow-outer-layers", 2);