Bug 1378944 - Stop running some APZ mochitests with chaos mode since it causes sandbox failures and doesn't provide much value. r?jld draft
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 14 Aug 2017 17:33:37 -0400
changeset 646103 85d5c1a8df401fe3a819949885cf5b86f956a3ad
parent 645963 6213fec03a47275d8fcbf79b951547e3993d677f
child 726139 5b4c8f47ac6ff12376fa6e75f434bd51eaee940f
push id74007
push userkgupta@mozilla.com
push dateMon, 14 Aug 2017 21:34:07 +0000
reviewersjld
bugs1378944
milestone57.0a1
Bug 1378944 - Stop running some APZ mochitests with chaos mode since it causes sandbox failures and doesn't provide much value. r?jld MozReview-Commit-ID: CTAAqtXRou0
gfx/layers/apz/test/mochitest/test_scroll_inactive_bug1190112.html
gfx/layers/apz/test/mochitest/test_scroll_inactive_flattened_frame.html
gfx/layers/apz/test/mochitest/test_wheel_scroll.html
--- a/gfx/layers/apz/test/mochitest/test_scroll_inactive_bug1190112.html
+++ b/gfx/layers/apz/test/mochitest/test_scroll_inactive_bug1190112.html
@@ -522,17 +522,16 @@ function doInnerScrollAgain(subframe, ol
   sendWheelAndPaint(subframe, 10, 10, DefaultEvent, function () {
     var newpos = new ScrollTops();
     ok(oldpos.outerScrollTop == newpos.outerScrollTop, "viewport should not have scrolled");
     ok(oldpos.innerScrollTop != newpos.innerScrollTop, "subframe should have scrolled");
     SimpleTest.finish();
   });
 }
 
-SimpleTest.testInChaosMode();
 SimpleTest.waitForExplicitFinish();
 
 pushPrefs([['general.smoothScroll', false],
            ['mousewheel.transaction.timeout', 0],
            ['mousewheel.transaction.ignoremovedelay', 0]])
 .then(waitUntilApzStable)
 .then(test);
 
--- a/gfx/layers/apz/test/mochitest/test_scroll_inactive_flattened_frame.html
+++ b/gfx/layers/apz/test/mochitest/test_scroll_inactive_flattened_frame.html
@@ -31,17 +31,16 @@ function test() {
   };
   sendWheelAndPaint(inner, 20, 30, event, function () {
     ok(container.scrollTop == containerScrollTop, "container scrollframe should not have scrolled");
     ok(outer.scrollTop > outerScrollTop, "nested scrollframe should have scrolled");
     SimpleTest.finish();
   });
 }
 
-SimpleTest.testInChaosMode();
 SimpleTest.waitForExplicitFinish();
 
 pushPrefs([['general.smoothScroll', false],
            ['mousewheel.transaction.timeout', 1000000]])
 .then(waitUntilApzStable)
 .then(test);
 
 </script>
--- a/gfx/layers/apz/test/mochitest/test_wheel_scroll.html
+++ b/gfx/layers/apz/test/mochitest/test_wheel_scroll.html
@@ -83,17 +83,16 @@ function* test(testDriver) {
     yield synthesizeNativeWheelAndWaitForWheelEvent(content, 100, 150, 0, -5, testDriver);
   }
   var scrollbox = document.getElementById('scrollbox');
   is(content.scrollTop > 0, true, "We should have scrolled down somewhat");
   is(content.scrollTop < content.scrollTopMax, true, "We should not have scrolled to the bottom of the scrollframe");
   is(rotationAdjusted, true, "The rotation should have been adjusted");
 }
 
-SimpleTest.testInChaosMode();
 SimpleTest.waitForExplicitFinish();
 
 // 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.
 pushPrefs([["general.smoothScroll", false]])
 .then(waitUntilApzStable)
 .then(runContinuation(test))