mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
39cd241c89
This makes OscillatorNode consistent with AudioBufferSourceNode --HG-- extra : transplant_source : %AE8%3B%B4%E5M%60%03%CBN.%21%BD%FF%60%A6%F2a%BDi
16 lines
367 B
HTML
16 lines
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>
|