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

function boom()
{
    var ac = new window.AudioContext();
    var oscillator = ac.createOscillator();
    oscillator.start(0);
    oscillator.stop(0.1);
    setTimeout(function() {
      oscillator.channelCount = 1;
      oscillator.channelCountMode = "explicit";
      oscillator.channelInterpretation = "speakers";
      document.documentElement.removeAttribute("class");
    }, 1000);
}

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