summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/animations/end-of-time-001-crash.html
blob: bd38d93161414ed9b19750805b313972b40703af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html class="reftest-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("reftest-wait"));
</script>