dom/xslt/tests/mochitest/test_bug1135764.html
author Sandor Molnar <smolnar@mozilla.com>
Wed, 16 Jul 2025 08:01:46 +0300 (7 hours ago)
changeset 796723 8b0d004a4d3f03394d1e7072f95d95a65415a0dc
parent 741808 3e99006eb8af70987fd5d6a0350eaff4aa61b45f
permissions -rw-r--r--
Revert "Bug 1976137: apply code formatting via Lando" for causing build bustages @ Platform.cpp This reverts commit a2bbd0d672396015e05d323e236619a39b34570a. Revert "Bug 1976137 part 4: Remove DocAccessibleChild overrides of SendCaretMoveEvent and SendFocusEvent. r=eeejay" This reverts commit 102a35ed28b8cc8f3ed069ba46e8e1949a6348bf. Revert "Bug 1976137 part 3: Remove aCaretRect argument from PlatformCaretMoveEvent and PlatformFocusEvent. r=eeejay" This reverts commit b46aa6464fceaab0d48edada247983c6879e0c74. Revert "Bug 1976137 part 2: Move UpdateSystemCaretFor to Platform.cpp. r=eeejay" This reverts commit 21f1cfda868038cb85a01c45512699f4812b9045. Revert "Bug 1976137 part 1: Unify Windows AccessibleWrap::UpdateSystemCaretFor. r=eeejay" This reverts commit 05970d567b067b63a45659f56dd77d9190e5e7f7.
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1135764
-->
<head>
  <meta charset="utf-8">
  <title>Test for Bug 1135764</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <script type="application/javascript">

  /** Test for Bug 1135764 **/
  SimpleTest.waitForExplicitFinish();
  var counter = 0;
  var startTimelineValue;

  function waitATick() {
    ++counter;
    if (counter == 1) {
      frames[0].requestAnimationFrame(waitATick);
      return;
    }
    ok(frames[0].document.timeline.currentTime !== startTimelineValue,
       "The timeline in an XSLT-transformed document should still advance");
    SimpleTest.finish();
  }
  addLoadEvent(function() {
    var ifr = document.querySelector("iframe");
    ifr.onload = function() {
      startTimelineValue = frames[0].document.timeline.currentTime;
      frames[0].requestAnimationFrame(waitATick);
    };
    ifr.src = "file_bug1135764.xml";
  });
  </script>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1135764">Mozilla Bug 1135764</a>
<p id="display">
  <iframe></iframe>
</p>
<div id="content" style="display: none">

</div>
<pre id="test">
</pre>
</body>
</html>