Bug 1263416 - Disable displayport expiry for test_basic_pan.html. r?botond draft
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 21 Apr 2016 15:19:51 -0400
changeset 354915 788d44ea02e0d9e15386a79b4d285cbc02f48d80
parent 354827 1152d99d8c53ac9dae371a6e6d9fab03d3f98697
child 519108 32bad1b5125a7cda302a6da01379f9ae76ec20be
push id16192
push userkgupta@mozilla.com
push dateThu, 21 Apr 2016 19:20:17 +0000
reviewersbotond
bugs1263416
milestone48.0a1
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>