blob: fb844564cef15a6613f84a454c8d651aa83b6291 [file] [log] [blame]
#!/usr/bin/env python3
import sys
sys.stdout.write(
'Content-Security-Policy: script-src \'self\'; report-uri resources/save-report.py\r\n'
'Content-Type: text/html\r\n\r\n'
'<script>\n'
'// This script block will trigger a violation report.\n'
'alert(\'FAIL\');\n'
'</script>\n'
'<script src="resources/go-to-echo-report.js"></script>\n'
)