tor-browser

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

file_meta_whitespace_skipping.html (1004B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <!-- Test all the different space characters within the meta csp:
      6       * U+0020 space           | &#x20;
      7       * U+0009 tab             | &#x9;        
      8       * U+000A line feed       | &#xa;  
      9       * U+000C form feed       | &#xc;
     10       * U+000D carriage return | &#xd;
     11    !-->
     12  <meta http-equiv="Content-Security-Policy"
     13        content= "
     14        img-src&#x20;       'none'; &#x20;
     15        script-src 'unsafe-inline'  &#xd;
     16        ;
     17        style-src&#x9;&#x9;     https://example.com&#xa;
     18        https://foo.com;&#xc;;;;&#xc;;;&#xc;     child-src    foo.com
     19        bar.com
     20            &#xd;;&#xd;
     21                     font-src 'none'">
     22  <title>Bug 1261634 - Update whitespace skipping for meta csp</title>
     23 </head>
     24 <body>
     25  <script type="application/javascript">
     26    // notify the including document that we are done parsing the meta csp
     27    window.parent.postMessage({result: "meta-csp-parsed"}, "*");
     28  </script>
     29 
     30 </body>
     31 </html>