summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/865550.html
blob: b8626e8d6771bd91cd983e02ed4b91b92ece314f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html class="reftest-wait">
    <head>   
        <script>
        var i = 0;
        var interval;
        function crash() {
            var o0 = new AudioContext();
            o1 = o0.createBufferSource();
            ++i;
            if (i == 2000) {
                document.documentElement.removeAttribute("class");
                clearInterval(interval);
            } 
        }
        function start() {
            interval = setInterval("crash()", 0)
        }
        </script>
    </head>
    <body onload="start()">
    </body>
</html>