root/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-from-header.php

/* [<][>][^][v][top][bottom][index][help] */
<?php
header("Content-Security-Policy-Report-Only: script-src 'self'; report-uri resources/save-report.php?test=report-only-from-header.php");
?>
<script>
// This script block will trigger a violation report but shouldn't be blocked.
alert('PASS');
</script>
<script src="resources/go-to-echo-report.js"></script>

/* [<][>][^][v][top][bottom][index][help] */