wpt / svg / animations / end-of-time-001-crash.html

Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/svg/animations/end-of-time-001-crash.html

<!DOCTYPE html>
<html class="test-wait">
<title>Seeking the time container to a large value does not cause a crash (or hang)</title>
<svg>
  <rect height="100" width="100" fill="blue">
    <animateTransform begin="18446744073709551557" dur="2" repeatCount="indefinite"
                      attributeName="transform" type="rotate" from="0,15,15" to="360,15,15"/>
  </rect>
</svg>
<script>
  let svg = document.querySelector("svg");
  svg.setCurrentTime(18446744073709551557);
  let html = document.documentElement;
  html.addEventListener("TestRendered", () => html.classList.remove("test-wait"));
</script>