2011-04-07 Adam Barth <abarth@webkit.org>
[WebKit-https.git] / LayoutTests / http / tests / security / contentSecurityPolicy / image-blocked.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="X-WebKit-CSP" content="img-src 'none'; script-src 'none'; options disable-xss-protection">
5 <script>
6 if (window.layoutTestController)
7     layoutTestController.dumpAsText();
8 </script>
9 </head>
10 <body>
11 This test passes if it doesn't alert fail.
12 <img src="../resources/abe.png" onload="alert('FAIL')">
13 </body>
14 </html>