gecko/content/media/test/crashtests/876118.html
Ehsan Akhgari fe9a997fa6 Bug 876118 - Impose a unified channel count limit of 10000 channels in Web Audio; r=roc
--HG--
extra : rebase_source : 480cebb99e5dd8673df179b490d11e6c513fa1d1
2013-05-29 07:36:37 -04:00

17 lines
496 B
HTML

<script>
var Context0= new AudioContext()
var BufferSource7=Context0.createBufferSource();
BufferSource7.connect(Context0.destination);
BufferSource7.buffer=function(){
var length=7;
var Buffer=Context0.createBuffer(1,length,Context0.sampleRate);
var bufferData= Buffer.getChannelData(0);for (var i = 0; i < length; ++i) { bufferData[i] = Math.sin(i*(-1))};
return Buffer;
}();
Context0.destination.channelCountMode="explicit";
Context0.destination.channelCount=519910189000000;
</script>