Bug 1164218 - Enable some guinea pig tests to run in chaos mode. r=botond

This commit is contained in:
Kartikaya Gupta 2015-06-04 13:44:55 -04:00
Родитель 5b6ed7c5d7
Коммит f60e403485
2 изменённых файлов: 9 добавлений и 8 удалений

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

@ -1,16 +1,16 @@
# The following tests test the async positioning of the scrollbars.
# Basic root-frame scrollbar with async scrolling
skip-if(!asyncPanZoom) == async-scrollbar-1-v.html async-scrollbar-1-v-ref.html
skip-if(!asyncPanZoom) == async-scrollbar-1-h.html async-scrollbar-1-h-ref.html
skip-if(!asyncPanZoom) == async-scrollbar-1-vh.html async-scrollbar-1-vh-ref.html
skip-if(!asyncPanZoom) == async-scrollbar-1-v-rtl.html async-scrollbar-1-v-rtl-ref.html
skip-if(!asyncPanZoom) == async-scrollbar-1-h-rtl.html async-scrollbar-1-h-rtl-ref.html
skip-if(!asyncPanZoom) == async-scrollbar-1-vh-rtl.html async-scrollbar-1-vh-rtl-ref.html
chaos-mode skip-if(!asyncPanZoom) == async-scrollbar-1-v.html async-scrollbar-1-v-ref.html
chaos-mode skip-if(!asyncPanZoom) == async-scrollbar-1-h.html async-scrollbar-1-h-ref.html
chaos-mode skip-if(!asyncPanZoom) == async-scrollbar-1-vh.html async-scrollbar-1-vh-ref.html
chaos-mode skip-if(!asyncPanZoom) == async-scrollbar-1-v-rtl.html async-scrollbar-1-v-rtl-ref.html
chaos-mode skip-if(!asyncPanZoom) == async-scrollbar-1-h-rtl.html async-scrollbar-1-h-rtl-ref.html
chaos-mode skip-if(!asyncPanZoom) == async-scrollbar-1-vh-rtl.html async-scrollbar-1-vh-rtl-ref.html
# Different zoom levels. Since B2G is the only APZ-enabled platform where we
# currently allow async zooming, that's the only platform on which these tests
# are run. And because the scrollthumb gets async-scaled in the compositor, the
# border-radius ends of the scrollthumb are going to be a little off, hence the
# fuzzy-if clauses.
skip-if(!asyncPanZoom||!B2G) fuzzy-if(B2G,77,82) == async-scrollbar-zoom-1.html async-scrollbar-zoom-1-ref.html
skip-if(!asyncPanZoom||!B2G) fuzzy-if(B2G,94,146) == async-scrollbar-zoom-2.html async-scrollbar-zoom-2-ref.html
chaos-mode skip-if(!asyncPanZoom||!B2G) fuzzy-if(B2G,77,82) == async-scrollbar-zoom-1.html async-scrollbar-zoom-1-ref.html
chaos-mode skip-if(!asyncPanZoom||!B2G) fuzzy-if(B2G,94,146) == async-scrollbar-zoom-2.html async-scrollbar-zoom-2-ref.html

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

@ -106,6 +106,7 @@ function startTest() {
SpecialPowers.pushPrefEnv({"set": [["general.smoothScroll", false]]}, continueTest);
}
SimpleTest.testInChaosMode();
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(startTest, window);