testing/mochitest/tests/SimpleTest/iframe-between-tests.html
author stransky <stransky@redhat.com>
Thu, 21 Oct 2021 13:15:02 +0000
changeset 596578 aceba6246b0e588f6fb1071dabb4d97159306b3c
parent 180332 6ebfa2a0fbc84b907600dfbba9955ebbecadc57f
permissions -rw-r--r--
Bug 1735095 [Wayland] When font/text scale factor is used, don't reposition popups for +-1 pixel moves, r=jhorak When font scale is used, move-to-rect popup positiong may end up in endless loop due to rounding error while popup position oscilates around layout position. We don't have a fox for that so let's disable such small popup movements when font scale is used. Depends on D129153 Differential Revision: https://phabricator.services.mozilla.com/D129154

<title>iframe for between tests</title>
<!--
  This page exists so that our accounting for assertions correctly
  counts assertions that happen while leaving a page.  We load this page
  after a test finishes, check the assertion counts, and then go on to
  load the next.
-->
<script>
window.addEventListener("load", function() {
  var runner = (parent.TestRunner || parent.wrappedJSObject.TestRunner);
  runner.testUnloaded();

  if (SpecialPowers) {
    SpecialPowers.DOMWindowUtils.runNextCollectorTimer();
  }
});
</script>