| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-i
nline'; script-src 'none'"> | 4 <meta http-equiv="Content-Security-Policy" content="script-src 'sha1-Au4
uYFbkf7OYd+ACMnKq96FN3qo='"> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) { | 6 if (window.testRunner) |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 } | |
| 9 </script> | |
| 10 <script> | |
| 11 alert('PASS (1/1)'); | 8 alert('PASS (1/1)'); |
| 12 </script> | 9 </script> |
| 13 </head> | 10 </head> |
| 14 <body> | 11 <body> |
| 15 <p> | 12 <p> |
| 16 This tests the effect of duplicated directives. It passes if a | 13 This tests the effect of a valid script-hash value. It passes if no |
| 17 console warning is visible, and the alert() is executed. | 14 console warning is visible, and the alert() is executed. |
| 18 </p> | 15 </p> |
| 19 </body> | 16 </body> |
| 20 </html> | 17 </html> |
| OLD | NEW |