summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/unsafe-hashes/javascript_src_allowed-href_blank-script-src-elem.html
blob: 642d9768a5135447363be510dd049ed7b9f3ee6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Security-Policy" content="script-src-elem 'unsafe-hashes' 'nonce-abc'
    'sha256-N5bidCKdNO1nSPa1G7MdL6S7Y7MKZ7UMIS/40JBMSe4=';">
    <script src="/resources/testharness.js" nonce="abc"></script>
    <script src="/resources/testharnessreport.js" nonce="abc"></script>
    <script src="support/helper.js" nonce="abc"></script>
</head>
<body>
    <script nonce="abc">
    runTest(true, '<a href target=_blank>', '');
    </script>
</body>
</html>