javascript_src_denied_wrong_hash-href.html (506B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-hashes' 'nonce-abc' 5 'sha256-wrongwrongwrongwrongwrongwrongwrongwrongwro=';"> 6 <script src="/resources/testharness.js" nonce="abc"></script> 7 <script src="/resources/testharnessreport.js" nonce="abc"></script> 8 <script src="support/helper.js" nonce="abc"></script> 9 </head> 10 <body> 11 <script nonce="abc"> 12 runTest(false, '<a href>', ' due to wrong hash'); 13 </script> 14 </body> 15 </html>