Files
servo/tests/wpt/web-platform-tests/content-security-policy/blink-contrib/resources/generate-csp-report.html

8 lines
272 B
HTML

<meta http-equiv="Content-Security-Policy" content="script-src 'self'; report-uri save-report.php?test=generate-csp-report.html">
<script>
// This script block will trigger a violation report.
alert('FAIL');
</script>
<script src="go-to-echo-report.js"></script>