Bug 1437295 - Remove unnecessary change from bug 1374166. r?botond draft
authorKartikaya Gupta <kgupta@mozilla.com>
Sat, 10 Mar 2018 23:26:28 -0500
changeset 765930 cc23cdb7eaa0c7ce3298bdaaebc8b6c1b76ee662
parent 765929 474993cc116f4a7b2172baa922e34405fc889aa8
child 765931 d88fe185c2351c5330ee8f14b77d158217b9dcc2
push id102181
push userkgupta@mozilla.com
push dateSun, 11 Mar 2018 04:27:20 +0000
reviewersbotond
bugs1437295, 1374166
milestone60.0a1
Bug 1437295 - Remove unnecessary change from bug 1374166. r?botond The change that was made in bug 1374166 was attempting to fix the problem fixed by the previous patch, but didn't actually succeed (it just made it less likely to occur). Now that we have the proper fix we can revert that botched attempt to speed up the test a little bit. MozReview-Commit-ID: 3hWZ6bFTdxb
gfx/layers/apz/test/mochitest/test_bug1151663.html
--- a/gfx/layers/apz/test/mochitest/test_bug1151663.html
+++ b/gfx/layers/apz/test/mochitest/test_bug1151663.html
@@ -3,29 +3,27 @@
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1151663
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1151663</title>
   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="apz_test_utils.js"></script>
-  <script type="application/javascript" src="/tests/SimpleTest/paint_listener.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
 
     if (isApzEnabled()) {
       SimpleTest.waitForExplicitFinish();
 
       // Run the actual test in its own window, because it requires that the
       // root APZC be scrollable. Mochitest pages themselves often run
       // inside an iframe which means we have no control over the root APZC.
       var w = null;
       pushPrefs([["apz.test.logging_enabled", true]])
-          .then(waitUntilApzStable)
           .then(function() {
             w = window.open("helper_bug1151663.html", "_blank");
           });
     }
 
     function finishTest() {
       w.close();
       SimpleTest.finish();