summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1694783-1.html
blob: e2d2d4d73fde68d8c20369903cc9eaa9f0cc5582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
    <script>
      window.addEventListener('load', () => {
        const canvas = document.createElement('canvas')
        canvas.getContext('2d', {})

        const stream = canvas.captureStream(5.908449372916826)
        const track = stream.getTracks()[0]
        const video = document.createElement('video')
        document.documentElement.appendChild(video)
        video.srcObject = stream
        track.enabled = false
      })
    </script>
</head>
</html>