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