tor-browser

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

frame-ancestors-url-block.html (457B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <script src="/resources/testharness.js"></script>
      5    <script src="/resources/testharnessreport.js"></script>
      6    <script src="support/frame-ancestors-test.sub.js"></script>
      7 </head>
      8 <body>
      9    <script>
     10        test = async_test("A 'frame-ancestors' CSP directive with a URL which doesn't match this origin should be blocked.");
     11 
     12        crossOriginFrameShouldBeBlocked("http://example.com/");
     13    </script>
     14 </body>
     15 </html>