tor-browser

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

test_iframes.html (824B)


      1 <!--
      2  Any copyright is dedicated to the Public Domain.
      3  http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <html>
      6 <head>
      7  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      8  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      9  <script type="text/javascript">
     10    function startTesting() {
     11      SimpleTest.waitForExplicitFinish();
     12      const checkTestResult = ev => {
     13        is(ev.data, "ok", "Is BucketFS available?");
     14        SimpleTest.finish();
     15      };
     16      window.addEventListener("message", checkTestResult);
     17      const testUrl =
     18          "https://example.org/tests/dom/fs/test/mochitest/bucketFS_getDirectory.html";
     19      document.getElementById("getMe").src = testUrl;
     20    }
     21  </script>
     22 </head>
     23 <body onload="startTesting();">
     24  <iframe id="getMe"></iframe>
     25 </body>
     26 </html>