зеркало из https://github.com/mozilla/gecko-dev.git
16 строки
367 B
HTML
16 строки
367 B
HTML
<!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>
|