1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/media/test/crashtests/925619-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<script> 1.7 +var context = new window.OfflineAudioContext(1, 2048, 48000); 1.8 +// 1024 > 89478.5 * 48000 - (1 << 32) 1.9 +var buffer = context.createBuffer(1, 1024, context.sampleRate); 1.10 +var source = context.createBufferSource(); 1.11 +source.buffer = buffer; 1.12 +source.onended = function(e) { 1.13 + document.documentElement.removeAttribute("class"); 1.14 +}; 1.15 +source.start(0); 1.16 +source.stop(89478.5); // 89478.5 is a little greater than 2^32 / 48000. 1.17 +context.startRendering(); 1.18 +</script>