summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/876118.html
blob: bc0630350afe0bfe71008849a70dffad4ed54797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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>