generate-csp-report.html (239B)
1 <!DOCTYPE html> 2 <html> 3 <body> 4 <script nonce='abc'> 5 top.postMessage('cookie set', '*'); 6 </script> 7 <script> 8 // This script block will trigger a violation report. 9 alert('FAIL'); 10 </script> 11 </body> 12 </html>