tenfourfox/dom/media/test/crashtests/offline-buffer-source-ended-1.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

16 lines
405 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<script>
var context = new window.OfflineAudioContext(1, 12001, 12000);
var source = context.createBufferSource();
source.buffer = context.createBuffer(1, 12000, context.sampleRate);
source.onended = function(e) {
document.documentElement.removeAttribute("class");
}
source.connect(context.destination);
source.start(0);
context.startRendering();
</script>