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