| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| alert('PASS (1/4)'); |
| </script> |
| <meta http-equiv="Content-Security-Policy" content="script-src 'sha256-j+ToFnhur5mTSCwoyy4Fh29+1BNMVEZ0MBvG5db0dA4=' 'sha384-S/1WrU/8y14JzSAhjkxjd8sZLP10LDlHuH8Mi24OwMNJ6wSry7J8ln0KeaibHHBW' 'sha512-0tQJUSPHRGUYQIa2ByQWZSlUa5sI3e2tOEXF7sg5mjmsHk/EHDTTORIDyMPhDKgCmdYdb7TIrwhLrq2kEvfjHQ=='"> |
| <script> |
| alert('PASS (2/4)'); |
| </script> |
| <script> |
| alert('PASS (3/4)'); |
| </script> |
| <script> |
| alert('PASS (4/4)'); |
| </script> |
| </head> |
| <body> |
| <p> |
| This tests the effect of a valid script-hash value. It passes if no |
| console warning is visible, and the alert() is executed. |
| </p> |
| </body> |
| </html> |