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