summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/874869.html
blob: 1fe3dbd2fcb766b3f2f5b5d87bb89c5bc6747068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
var Context0= new AudioContext()
var Panner0=Context0.createPanner();
var BufferSource3=Context0.createBufferSource();
Panner0.channelCount=0;
BufferSource3.connect(Panner0);
BufferSource3.buffer=function(){
	var length=1;
	var Buffer=Context0.createBuffer(1,length,'44200');
	var bufferData= Buffer.getChannelData(0);
	for (var i = 0; i < length; ++i) { bufferData[i] = 255;};
	return Buffer;
}();

</script>