summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1709130.html
blob: 2c6d7dc690a7b1e0c6f0d3ba06182ef2876e1130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html class="reftest-wait">
<head>
<script>
(async _ => {
  const video = document.createElement("video");
    video.mozCaptureStreamUntilEnded();
    video.src = "test.mp4";
    await video.play();
    for (let i = 0; i < 23; i++) {
      console.log("nop");
      await video.seekToNextFrame();
      video.removeAttribute("readonly");
    }
    setTimeout("self.close()", 100);
    document.documentElement.removeAttribute("class");
})();
</script>
</head>
</html>