dom/animation/test/crashtests/1343589-1.html
author Andy Leiserson <aleiserson@mozilla.com>
Sat, 19 Jul 2025 16:44:54 +0000 (9 hours ago)
changeset 797257 246e16bb06c941d6f64d807d43c807bfba04ae86
parent 350036 198b57c1d07be672ea4e29d5dcedcc548f7c53cc
permissions -rw-r--r--
Bug 1976958 - Update wgpu to b83c9cf (2025-07-10) r=webgpu-reviewers,supply-chain-reviewers,teoxoy Differential Revision: https://phabricator.services.mozilla.com/D257047
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta charset="UTF-8">
<script>
window.onload = function(){
  let a = document.documentElement.animate(null,
            { duration: 100, iterations: Number.POSITIVE_INFINITY });
  a.startTime = 100000; // Set the start time far in the future
  // Try reversing (this should throw because the target effect end is infinity)
  try { a.reverse(); } catch(e) {}
  // Do something that will trigger a timing update
  a.effect.target = document.createElement("span");
  document.documentElement.className = '';
};
</script>
</head>
</html>