summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1697521.html
blob: b44c02e227b64c9338db4ef41ebac973fd1b7ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
<script>
async function boom() {
  const canvas = document.createElement("canvas");
  canvas.getContext("2d");
  const recorder = new MediaRecorder(new MediaStream([
    ...canvas.captureStream().getTracks(),
    ...canvas.captureStream().getTracks(),
  ]));
  recorder.start();
  recorder.requestData();
}
</script>
</head>
<body onload="boom()">
</body>
</html>