tor-browser

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

script-src-1_3.html (592B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4    <title>Positive test case: Inline script should run 'unsafe-inline' script-src directive.</title>
      5    <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';">
      6    <script src='/resources/testharness.js'></script>
      7    <script src='/resources/testharnessreport.js'></script>
      8    <script src='inlineSuccessTest.js'></script>
      9 </head>
     10 <body>
     11    <h1>Positive test case: Inline script should run 'unsafe-inline' script-src directive.</h1>
     12    <div id='log'></div>
     13 
     14    <script>
     15      inlineRan = true;
     16    </script>
     17 </body>
     18 </html>