Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.php |
similarity index 60% |
rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.html |
rename to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.php |
index 5c94c03ab8646b7c7efaa2a270a37637d1e9c15b..e36ea9fc04d8b7a7443129499a03c6c2ae682305 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript.php |
@@ -1,8 +1,10 @@ |
+<?php |
+header("Content-Security-Policy: img-src 'none'; report-uri resources/save-report.php?test=report-uri-from-javascript.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-uri-from-javascript.html"> |
</head> |
<body> |
<script src="resources/inject-image.js"></script> |