tor-browser

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

sandbox-empty.sub.html (678B)


      1 <!DOCTYPE html>
      2 <html>
      3 
      4 <head>
      5    <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.-->
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8    <script src='../support/logTest.sub.js?logs=["PASS2"]'></script>
      9    <script src="../support/alertAssert.sub.js?alerts=[]"></script>
     10 </head>
     11 
     12 <body>
     13    <p>This test passes if it does alert pass.</p>
     14 
     15    <script>
     16       window.onmessage = function(e) {
     17           log(e.data);
     18       }
     19    </script>
     20 
     21    <iframe src="support/sandboxed-post-message-to-parent.html"
     22            onload="log('PASS2')"></iframe>
     23 </body>
     24 
     25 </html>