summaryrefslogtreecommitdiffstats
path: root/dom/animation/test/crashtests/1291413-1.html
blob: 691a746c6eed142a1218679d7aa69e35e9aa578e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html class=reftest-wait>
<script>
window.onload = () => {
  const div = document.createElement('div');

  document.documentElement.appendChild(div);
  const anim = div.animate([], 1000);

  anim.ready.then(() => {
    anim.pause();
    anim.reverse();
    anim.playbackRate = 0;
    anim.ready.then(() => {
      document.documentElement.className = '';
    });
  });
};
</script>
</html>