1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/media/test/crashtests/877527.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<script> 1.5 +try { o1 = new window.AudioContext(2, 5, 44100); } catch(e) { } 1.6 +try { o2 = o1.createChannelMerger(1); } catch(e) { } 1.7 +try { o3 = o1.createDelay(10); } catch(e) { } 1.8 +try { o4 = o1.createBuffer(2, 2048, 8000); } catch(e) { } 1.9 +try { o5 = o1.createPanner(); } catch(e) { } 1.10 +try { o6 = o1.createBufferSource(); } catch(e) { } 1.11 +try { o7 = (function() { 1.12 +var buf = o1.createBuffer(1, 50000, o1.sampleRate); 1.13 +for(var j=0; j<1; ++j) { 1.14 +for(var i=0; i<50000; ++i) { buf.getChannelData(j)[i] = Math.sin(i * (9.8));} 1.15 +} 1.16 +return buf; 1.17 +})(); } catch(e) { } 1.18 +try { o6.buffer = o7; } catch(e) { } 1.19 +try { o6.connect(o5); } catch(e) { } 1.20 +try { o5.connect(o1.destination); } catch(e) { } 1.21 +try { o1.listener.speedOfSound = 0.0000019073486328125; } catch(e) { } 1.22 +try { o6.loop = true; } catch(e) { } 1.23 +try { o8 = (function() { 1.24 +var buf = o1.createBuffer(2, 1000, o1.sampleRate); 1.25 +for(var j=0; j<2; ++j) { 1.26 +for(var i=0; i<1000; ++i) { buf.getChannelData(j)[i] = Math.sin(i * (1));} 1.27 +} 1.28 +return buf; 1.29 +})(); } catch(e) { } 1.30 +try { o6.buffer = o7; } catch(e) { } 1.31 +try { o6.connect(o5); } catch(e) { } 1.32 +try { o5.connect(o1.destination); } catch(e) { } 1.33 +try { o6.loopEnd = 1.4901161193847656e-8; } catch(e) { } 1.34 +try { o6.connect(o1.destination); } catch(e) { } 1.35 +try { o6.buffer = o8; } catch(e) { } 1.36 +try { o5.setPosition(0.36, o1.destination.context.destination.channelCountMode, o1.destination.context.destination.channelInterpretation) } catch(e) { } 1.37 +try { o2.channelCountMode = 'explicit'; } catch(e) { } 1.38 +try { o1.listener.speedOfSound = 4; } catch(e) { } 1.39 +try { o1.startRendering(); } catch(e) { } 1.40 +</script>