Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.php |
similarity index 61% |
rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.html |
rename to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.php |
index 83f9c3aecc219f8d5b9fd1d87c8431d9e0e62ed6..807c70165ce105c493a9e3e3e636047d4a7eeb85 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri.php |
@@ -1,5 +1,7 @@ |
+<?php |
+header("Content-Security-Policy-Report-Only: img-src 'none'; report-uri resources/save-report.php?test=report-blocked-uri.php"); |
+?> |
<script src="resources/report-test.js"></script> |
-<meta http-equiv="Content-Security-Policy-Report-Only" content="img-src 'none'; report-uri resources/save-report.php?test=report-blocked-uri.html"> |
The URI of this image should show up in the violation report. |
<img src="../resources/abe.png#the-fragment-should-not-be-in-report"> |
<script src="resources/go-to-echo-report.js"></script> |