summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/990794.html
blob: 8b40088b1aab95832b8202dc30cbbdbfa61ac0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<script>
var ctx = new AudioContext();
var source = ctx.createOscillator();
source.start(0);

function appendMerger(src) {
  const inputCount = 18;

  var merger = ctx.createChannelMerger(32);

  for (var i = 0; i < inputCount; ++i) {
    src.connect(merger, 0, i);
  }

  return merger;
}

for (var i = 0; i < 6; ++i) {
  source = appendMerger(source);
}
</script>