| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.php
|
| similarity index 59%
|
| rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.html
|
| rename to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.php
|
| index ad4c5556124a7ac6097036b51e0c416f9ba5adf4..9d58e435fb687e9efdde115c9c72f932ccb5df40 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri.php
|
| @@ -1,5 +1,7 @@
|
| +<?php
|
| +header("Content-Security-Policy: script-src 'self'; report-uri resources/save-report.php?test=report-uri.php");
|
| +?>
|
| <script src="resources/report-test.js"></script>
|
| -<meta http-equiv="Content-Security-Policy" content="script-src 'self'; report-uri resources/save-report.php?test=report-uri.html">
|
| <script>
|
| // This script block will trigger a violation report.
|
| alert('FAIL');
|
|
|