gecko/content/media/test/crashtests/oscillator-ended-2.html

16 lines
367 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<script>
function createContext() {
var context = new window.AudioContext();
var source = context.createOscillator();
source.onended = function(e) {
document.documentElement.removeAttribute("class");
};
source.connect(context.destination);
source.start(60);
source.stop(0.5);
}
createContext();
</script>