tor-browser

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

test_bug418986-3.html (963B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=418986
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <title>Test 3/3 for Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info</title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <script src="/tests/SimpleTest/EventUtils.js"></script>
     11  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     12 </head>
     13 <body id="body">
     14 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=418986">Bug 418986</a>
     15 <p id="display"></p>
     16 <pre id="test"></pre>
     17 <script type="application/javascript" src="bug418986-3.js"></script>
     18 <script type="application/javascript">
     19  // This test produces fake mouse events and checks that the screenX and screenY
     20  // properties of the received event objects provide client window coordinates.
     21  // Run the test once the window has loaded.
     22  window.onload = () => test(true);
     23 </script>
     24 </body>
     25 </html>