Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-allowed.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-allowed.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-allowed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..406c0542132fb7583307c9cec49b069fa3cf2db3 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-allowed.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta http-equiv="Content-Security-Policy" content="img-src *; script-src 'unsafe-inline'"> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |
+</head> |
+<body> |
+<img src="../resources/abe.png" onload="alert(this.width == 76 ? 'PASS' : 'FAIL')"> |
+</body> |
+</html> |