| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.php
|
| similarity index 60%
|
| rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.html
|
| rename to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.php
|
| index 68a79f5d8967b14ff2e3937a42278ce977679602..ddc1d7a4b8feea822fb436b36595f4ce109560ec 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only.php
|
| @@ -1,5 +1,7 @@
|
| +<?php
|
| +header("Content-Security-Policy-Report-Only: script-src 'self'; report-uri resources/save-report.php?test=report-only.php");
|
| +?>
|
| <script src="resources/report-test.js"></script>
|
| -<meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'self'; report-uri resources/save-report.php?test=report-only.html">
|
| <script>
|
| // This script block will trigger a violation report but shouldn't be blocked.
|
| alert('PASS');
|
|
|