dom/animation/test/crashtests/1322291-2.html
author Serban Stanca <sstanca@mozilla.com>
Thu, 17 Jul 2025 20:21:32 +0300 (10 hours ago)
changeset 797003 7ec5a911287f51bc177058928bb102163a3b656e
parent 329140 3c7c8b14e0bb86eae9339bfb2ca602b00e83abee
permissions -rw-r--r--
Revert "Bug 1977690 - Remove unused AppRequestInterceptor in androidTests r=aaronmt" for causing fenix-debug failures. This reverts commit bc9dc5f4296482e17560627acaacd2797e462211.
<!DOCTYPE html>
<html class="reftest-wait">
<style>
div {
  width: 100px;
  height: 100px;
  background-color: red;
}
</style>
<body>
<div id=o_0></div>
<script>
function boom(){
  var anim = o_0.animate([
    {},
    {"transform": "scale(2)"},
    {"transform": "none"}
    ], {
      duration: 100,
      iterationStart: 0.5,
    });
  // We need to wait for finished promise just like we do in 1322291-1.html.
  anim.finished.then(function() {
    document.documentElement.classList.remove("reftest-wait");
  });
}
document.addEventListener("DOMContentLoaded", boom);
</script>

</body>
</html>