Bug 1164218 - Enable some guinea pig tests to run in chaos mode. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 04 Jun 2015 13:44:55 -0400
changeset 247181 89ac61464a450e47d2d6586886fcf486f74c2e9b
parent 247180 34066854f6450ce7e401d9f2763d66f4c236eec2
child 247182 e4b22fb2ac017c1a30ffd11cc3d863d0b26d8c7c
push id28855
push userkwierso@gmail.com
push dateFri, 05 Jun 2015 01:19:30 +0000
treeherdermozilla-central@227d356ac030 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1164218
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1164218 - Enable some guinea pig tests to run in chaos mode. r=botond
gfx/layers/apz/reftests/reftest.list
gfx/layers/apz/test/test_wheel_scroll.html
--- a/gfx/layers/apz/reftests/reftest.list
+++ b/gfx/layers/apz/reftests/reftest.list
@@ -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
--- a/gfx/layers/apz/test/test_wheel_scroll.html
+++ b/gfx/layers/apz/test/test_wheel_scroll.html
@@ -101,16 +101,17 @@ function continueTest() {
 
 function startTest() {
   // If we allow smooth scrolling the "smooth" scrolling may cause the page to
   // glide past the scrollbox (which is supposed to stop the scrolling) and so
   // we might end up at the bottom of the page.
   SpecialPowers.pushPrefEnv({"set": [["general.smoothScroll", false]]}, continueTest);
 }
 
+SimpleTest.testInChaosMode();
 SimpleTest.waitForExplicitFinish();
 SimpleTest.waitForFocus(startTest, window);
 
 </script>
 </pre>
 
 </body>
 </html>