gfx/layers/apz/test/mochitest/test_bug1151663.html
author Kartikaya Gupta <kgupta@mozilla.com>
Sat, 10 Mar 2018 23:26:28 -0500
changeset 462548 5a973861da6a9d3ecb4e7ba10b744958f98c40b6
parent 458161 63ff291a2433f16ca847277564a011b68df5b9ac
child 511951 cda72b927c04782a92408dabcb9b355d397b4bd5
permissions -rw-r--r--
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

<!DOCTYPE HTML>
<html>
<!--
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>
  <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(function() {
            w = window.open("helper_bug1151663.html", "_blank");
          });
    }

    function finishTest() {
      w.close();
      SimpleTest.finish();
    };

  </script>
</head>
<body>
  <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1151663">Mozilla Bug 1151663</a>
</body>
</html>