tor-browser

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

empty-buffer-source.html (491B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4  <title>Bug 1636540: AudioBufferSourceNode with empty buffer</title>
      5  <script>
      6 const offline = new OfflineAudioContext({length: 128, sampleRate: 16384});
      7 const buffer = new AudioBuffer({length: 1, sampleRate: 21725});
      8 const node = new AudioBufferSourceNode(offline, {buffer: buffer});
      9 node.start(5/offline.sampleRate);
     10 offline.startRendering().then(
     11  () => document.documentElement.removeAttribute("class"));
     12  </script>
     13 </head>
     14 </html>