зеркало из https://github.com/mozilla/gecko-dev.git
Bug 986404: Disable fade-out of overlay scrollbars during reftest. r=mstange
This commit is contained in:
Родитель
cf68c54b12
Коммит
43c31de838
|
@ -1,6 +1,3 @@
|
|||
# Make overlay scrollbars never fade out
|
||||
default-preferences pref(layout.testing.overlay-scrollbars.always-visible,true)
|
||||
|
||||
== 480053-1.html 480053-1-ref.html
|
||||
== z-index-1.html z-index-1-ref.html
|
||||
!= stacking-context-yes.html stacking-context-no.html
|
||||
|
|
|
@ -38,6 +38,10 @@ function setDefaultPrefs() {
|
|||
branch.setBoolPref("security.fileuri.strict_origin_policy", false);
|
||||
// Disable the thumbnailing service
|
||||
branch.setBoolPref("browser.pagethumbnails.capturing_disabled", true);
|
||||
// Disable the fade out (over time) of overlay scrollbars, since we
|
||||
// can't guarantee taking both reftest snapshots at the same point
|
||||
// during the fade.
|
||||
branch.setBoolPref("layout.testing.overlay-scrollbars.always-visible", true);
|
||||
}
|
||||
|
||||
function setPermissions() {
|
||||
|
|
|
@ -38,6 +38,10 @@ function setDefaultPrefs() {
|
|||
branch.setIntPref("urlclassifier.updateinterval", 172800);
|
||||
// Disable high-quality downscaling, since it makes reftests more difficult.
|
||||
branch.setBoolPref("image.high_quality_downscaling.enabled", false);
|
||||
// Disable the fade out (over time) of overlay scrollbars, since we
|
||||
// can't guarantee taking both reftest snapshots at the same point
|
||||
// during the fade.
|
||||
branch.setBoolPref("layout.testing.overlay-scrollbars.always-visible", true);
|
||||
}
|
||||
|
||||
var windowListener = {
|
||||
|
|
|
@ -114,6 +114,10 @@ RefTestCmdLineHandler.prototype =
|
|||
// in our 800px window we don't zoom out by default to try to fit the
|
||||
// assumed 980px content.
|
||||
branch.setIntPref("browser.viewport.desktopWidth", 800);
|
||||
// Disable the fade out (over time) of overlay scrollbars, since we
|
||||
// can't guarantee taking both reftest snapshots at the same point
|
||||
// during the fade.
|
||||
branch.setBoolPref("layout.testing.overlay-scrollbars.always-visible", true);
|
||||
|
||||
var wwatch = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(nsIWindowWatcher);
|
||||
|
|
Загрузка…
Ссылка в новой задаче