| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/report-test.js"></script> |
| 4 <meta http-equiv="Content-Security-Policy" content="img-src 'none'; report-u
ri resources/save-report.php"> | 5 <meta http-equiv="Content-Security-Policy" content="img-src 'none'; report-u
ri resources/save-report.php"> |
| 5 </head> | 6 </head> |
| 6 <body> | 7 <body> |
| 7 <script> | 8 <script> |
| 8 // This script block will trigger a violation report. | 9 // This script block will trigger a violation report. |
| 9 var i = document.createElement('img'); | 10 var i = document.createElement('img'); |
| 10 i.src = '/security/resources/abe.png'; | 11 i.src = '/security/resources/abe.png'; |
| 11 document.body.appendChild(i); | 12 document.body.appendChild(i); |
| 12 </script> | 13 </script> |
| 13 <script src="resources/go-to-echo-report.js"></script> | 14 <script src="resources/go-to-echo-report.js"></script> |
| 14 </body> | 15 </body> |
| 15 </html> | 16 </html> |
| OLD | NEW |