1693043.html (522B)
1 <html class="reftest-wait"> 2 <head> 3 <script> 4 async function boom() { 5 const audio = document.createElement("audio"); 6 audio.preload = "metadata"; 7 audio.src = "sound.ogg"; 8 await new Promise(r => audio.onloadedmetadata = r); 9 const s = audio.mozCaptureStream(); 10 const recorder = new MediaRecorder( 11 new MediaStream(s.getTracks()), 12 { audioBitsPerSecond: 3994678619 } 13 ); 14 recorder.start(); 15 document.documentElement.removeAttribute("class"); 16 } 17 </script> 18 </head> 19 <body onload="boom()"> 20 </body> 21 </html>