1991492_1.html (657B)
1 <html class="reftest-wait"> 2 <head> 3 <script> 4 document.addEventListener("DOMContentLoaded", async () => { 5 SpecialPowers.wrap(document).notifyUserGestureActivation(); 6 const request = new Promise((res, rej) => navigator.mozGetUserMedia({ 7 "video": { 8 "frameRate": { 9 "min": 100, 10 "max": -1 11 }, 12 "mediaSource": "screen" 13 } 14 }, 15 stream => res(stream), 16 err => rej(err) 17 )); 18 try { 19 const stream = await request; 20 } finally { 21 document.documentElement.removeAttribute("class"); 22 } 23 }) 24 </script> 25 </head> 26 </html>