Bug 1263416 - Disable displayport expiry for test_basic_pan.html. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 21 Apr 2016 15:19:51 -0400
changeset 334439 8dc88a0d88bba681ddf5e1c25f4025e0af4c647f
parent 334438 1f5f16c88c5b4d13a687cd0f268c9b3d9988bf5f
child 334440 3c2a87839422d7baa1cae7c1433e9dcaa2aa129d
push id1146
push userCallek@gmail.com
push dateMon, 25 Jul 2016 16:35:44 +0000
treeherdermozilla-release@a55778f9cd5a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1263416
milestone48.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 1263416 - Disable displayport expiry for test_basic_pan.html. r=botond MozReview-Commit-ID: BIUv3JnDtKQ
gfx/layers/apz/test/mochitest/test_basic_pan.html
--- a/gfx/layers/apz/test/mochitest/test_basic_pan.html
+++ b/gfx/layers/apz/test/mochitest/test_basic_pan.html
@@ -55,16 +55,21 @@ window.onload = function() {
         // a 10 second hold. Note that we also cannot enable chaos mode on this
         // test for this reason, since chaos mode can cause the long-press timer
         // to fire sooner than the pref dictates.
         ["ui.click_hold_context_menus.delay", 10000],
         // The subtests in this test do touch-drags to pan the page, but we don't
         // want those pans to turn into fling animations, so we increase the
         // fling-stop threshold velocity to absurdly high.
         ["apz.fling_stopped_threshold", "10000"],
+        // The helper_div_pan's div gets a displayport on scroll, but if the
+        // test takes too long the displayport can expire before the new scroll
+        // position is synced back to the main thread. So we disable displayport
+        // expiry for these tests.
+        ["apz.displayport_expiry_ms", 0],
       ]
     }, testDone);
 };
 
   </script>
 </head>
 <body>
 </body>