1
0
Fork 0
firefox/dom/media/test/crashtests/offline-buffer-source-ended-1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

15 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>