tor-browser

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

test_worker_interfaces_secureContext.html (720B)


      1 <!-- Any copyright is dedicated to the Public Domain.
      2   - http://creativecommons.org/publicdomain/zero/1.0/ -->
      3 <!DOCTYPE HTML>
      4 <html>
      5 <head>
      6  <title>Validate Interfaces Exposed to Workers</title>
      7  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      8  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
      9  <script src="../../tests/mochitest/general/interface_exposure_checker.js"></script>
     10  <script type="text/javascript" src="worker_driver.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14  ok(self.isSecureContext, "This test should be running in a secure context");
     15 </script>
     16 <script class="testbody" type="text/javascript">
     17 workerTestExec("test_worker_interfaces.js");
     18 </script>
     19 </body>
     20 </html>