gecko/content/media/test/crashtests/910171-1.html
Karl Tomlinson 9a843336e3 b=910171 register tail references with the AudioContext so they can be removed when the rendering is complete r=ehsan
--HG--
extra : transplant_source : %8C%C3%C2%2B%1B%E9Q%9B%0E%DE%B4%AA%02%B2%D1%A0S%F1%EC%0D
2013-09-17 11:54:52 +12:00

18 lines
514 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<script>
var context = new window.OfflineAudioContext(1, 4096, 48000);
context.oncomplete = function(e) {
document.documentElement.removeAttribute("class");
};
var delay = context.createDelay();
delay.connect(context.destination);
delay.delayTime.value = 1.0;
var buffer = context.createBuffer(1, 2048, context.sampleRate);
var source = context.createBufferSource();
source.buffer = buffer;
source.connect(delay);
source.start();
context.startRendering();
</script>