DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5350524bb654)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
  <style type="text/css">
    @keyframes anim {
       0% { transform: translate(0px) }
       100% { transform: translate(100px) }
    }
    div {
      width: 100px;
      height: 100px;
      background-color: white;
    }
  </style>
</head>
<body>
<div></div>
<script type="application/javascript">

window.addEventListener("load", function() {
  document.querySelector("div").setAttribute("style",
    "animation: 100s 300s anim linear");
  advance_clock(200000);
  advance_clock(300000);

  Promise.resolve().then(function() {
    SpecialPowers.DOMWindowUtils.restoreNormalRefresh();
  }).then(function() {
    document.documentElement.className = "";
  });
});

function advance_clock(milliseconds) {
  SpecialPowers.DOMWindowUtils.advanceTimeAndRefresh(milliseconds);
}
</script>
</html>