2011-04-07 Adam Barth <abarth@webkit.org>
[WebKit-https.git] / LayoutTests / http / tests / security / contentSecurityPolicy / style-blocked.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="X-WebKit-CSP" content="style-src 'none'; script-src 'none'; options disable-xss-protection">
5 <link rel="stylesheet" href="resources/blue.css">
6 <script>
7 if (window.layoutTestController)
8     layoutTestController.dumpAsText();
9 </script>
10 </head>
11 <body>
12 <script>
13 document.write(document.styleSheets.length > 0 ? 'FAIL' : 'PASS');
14 </script>
15 </body>
16 </html>