tor-browser

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

gamepad-inner.html (320B)


      1 <!DOCTYPE html>
      2 <script src="utils.js"></script>
      3 <title>getGamepads should throw an error in a fenced frame</title>
      4 <script>
      5 const [key] = parseKeylist();
      6 try {
      7  navigator.getGamepads();
      8  writeValueToServer(key, 'Expected exception but successed');
      9 } catch (e) {
     10  writeValueToServer(key, e.name);
     11 }
     12 </script>
     13 </html>