Index: LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content.html b/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..de590c10693976237561d79234732f3821212f24 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta http-equiv="Content-Security-Policy" content="img-src 'self'; script-src 'unsafe-inline'"> |
+</head> |
+<body> |
+This test shows what alt content looks like when an image errors out on a page with a CSP that blocks data: URIs for images. |
+<img src="../resources/ab.png" width="50px;" height="50px;" alt="alt text"> |
+</body> |
+</html> |