gecko/content/media/test/crashtests/990794.html
Karl Tomlinson 21244bbd4c crashtest for bug 990794
--HG--
extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
2014-07-30 17:45:12 +12:00

23 lines
382 B
HTML

<!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>