mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
25
dom/media/test/crashtests/881775.html
Normal file
25
dom/media/test/crashtests/881775.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<script>
|
||||
o1 = new window.AudioContext(2, 16, 44100);
|
||||
o2 = o1.createBufferSource();
|
||||
o12 = o1.createBiquadFilter();
|
||||
o1.destination.channelCountMode = 'max';
|
||||
o2.buffer = function(){
|
||||
var buffer = o1.createBuffer(2, 326, 77632);
|
||||
for(var c=0; c<2; c++) {
|
||||
for(var i=0; i<326; i++) {
|
||||
buffer.getChannelData(c)[i] = -1;
|
||||
}
|
||||
}
|
||||
return buffer;
|
||||
}();
|
||||
o2.connect(o1.destination);
|
||||
o2.buffer = function(){
|
||||
var buffer = o1.createBuffer(3, 405, o1.sampleRate);
|
||||
for(var c=0; c<3; c++) {
|
||||
for(var i=0; i<405; i++) {
|
||||
buffer.getChannelData(c)[i] = 1;
|
||||
}
|
||||
}
|
||||
return buffer;
|
||||
}();
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue