tor-browser

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

style-allowed.sub.html (900B)


      1 <!DOCTYPE html>
      2 <html>
      3 
      4 <head>
      5    <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.-->
      6    <meta http-equiv="Content-Security-Policy" content="style-src *; script-src 'self' 'unsafe-inline' 'unsafe-inline'; connect-src 'self';">
      7    <title>style-allowed</title>
      8    <script src="/resources/testharness.js"></script>
      9    <script src="/resources/testharnessreport.js"></script>
     10    <script src='../support/logTest.sub.js?logs=["PASS"]'></script>
     11    <script src="../support/alertAssert.sub.js?alerts=[]"></script>
     12    <script>
     13        window.addEventListener('securitypolicyviolation', function(e) {
     14            log("Fail");
     15        });
     16    </script>
     17    <link rel="stylesheet" href="resources/blue.css">
     18 </head>
     19 
     20 <body>
     21    <script>
     22        log(document.styleSheets.length > 0 ? 'PASS' : 'FAIL');
     23 
     24    </script>
     25    <div id="log"></div>
     26 </body>
     27 
     28 </html>