summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1223670.html
blob: 94cad43e2307807ba64f15373f9022b86893a5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>

function boom()
{

    var ac = new window.AudioContext("publicnotification");

    setTimeout(function() {
        document.documentElement.removeAttribute("class");
        var htmlAudio = new Audio();
        var stream = htmlAudio.mozCaptureStreamUntilEnded();
        ac.createMediaStreamSource(stream);
    }, 0);
}

</script>
</head>
<body onload="boom();">
</body>
</html>