mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Test case for bug 876249
This commit is contained in:
parent
6fec3659b8
commit
138d8529b0
27
content/media/test/crashtests/876249.html
Normal file
27
content/media/test/crashtests/876249.html
Normal file
@ -0,0 +1,27 @@
|
||||
<script>
|
||||
var Context0= new AudioContext()
|
||||
var BufferSource0=Context0.createBufferSource();
|
||||
var BiquadFilter0=Context0.createBiquadFilter();
|
||||
BufferSource0.start(0,0.6167310480959713,0.7142638498917222);
|
||||
BiquadFilter0.connect(Context0.destination);
|
||||
BufferSource0.buffer=function(){
|
||||
var length=86333;
|
||||
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;
|
||||
}();
|
||||
|
||||
BufferSource0.connect(BiquadFilter0);
|
||||
|
||||
BufferSource0.buffer=function(){
|
||||
var length=21989;
|
||||
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*(0))};
|
||||
return Buffer;
|
||||
}();
|
||||
|
||||
BufferSource0.stop(0.04184641852043569);
|
||||
|
||||
</script>
|
@ -22,4 +22,5 @@ load 874952.html
|
||||
load 875144.html
|
||||
load 875596.html
|
||||
load 875911.html
|
||||
load 876249.html
|
||||
load 876252.html
|
||||
|
Loading…
Reference in New Issue
Block a user