summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/crash/file_bug1233613.html
blob: d949c3b21c554096ad1535d56460d45cd4066d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<iframe style="display:none" srcdoc="

<html>
<head>
<script type='text/javascript'>
function boom() {
    var gl = canvas.getContext('experimental-webgl');
    video.srcObject = canvas.captureStream(0);
}
</script>
</head>
<body onload='boom();'>
    <video id='video' width='256' height='256'></video>
    <canvas id='canvas' width='256' height='256'></canvas>
</body>
</html>

"></iframe>