tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

offline-buffer-source-ended-1.html (405B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <script>
      4 var context = new window.OfflineAudioContext(1, 12001, 12000);
      5 
      6 var source = context.createBufferSource();
      7 source.buffer = context.createBuffer(1, 12000, context.sampleRate);
      8 source.onended = function(e) {
      9  document.documentElement.removeAttribute("class");
     10 }
     11 source.connect(context.destination);
     12 source.start(0);
     13 
     14 context.startRendering();
     15 </script>