tor-browser

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

iframe-inside-csp.sub.html (711B)


      1 <html>
      2 <head>
      3    <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.-->
      4    <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'self'; connect-src 'self';">
      5    <script src="/resources/testharness.js"></script>
      6    <script src="/resources/testharnessreport.js"></script>
      7    <script src='../support/logTest.sub.js?logs=["PASS (1/2): Script can execute","PASS (2/2): Eval works"]'></script>
      8    <script src='../support/alertAssert.sub.js?alerts=[]'></script>
      9 </head>
     10 <body>
     11  <script>
     12    window.onmessage = function(e) {
     13      log(e.data);
     14    }
     15  </script>
     16  <iframe src="support/sandboxed-eval.sub.html"></iframe>
     17 </body>
     18 </html>