Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.php |
similarity index 80% |
rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.html |
rename to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.php |
index 0f92e7aebd998787c777479fc4e1ba75deddffd3..34da89fd2c3a8fa248afbc40ef2d443e02a64415 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-file-uri.php |
@@ -1,8 +1,10 @@ |
+<?php |
+header("Content-Security-Policy: img-src 'none'; report-uri resources/save-report.php?test=report-blocked-file-uri.php"); |
+?> |
<!DOCTYPE html> |
<html> |
<head> |
<script src="resources/report-test.js"></script> |
- <meta http-equiv="Content-Security-Policy" content="img-src 'none'; report-uri resources/save-report.php?test=report-blocked-file-uri.html"> |
</head> |
<body> |
<script> |