servo/tests/wpt/web-platform-tests/content-security-policy/script-src/scripthash-basic-blocked-error-event.html

10 lines
392 B
HTML

<!DOCTYPE html>
<head>
<title>CSP script-hash block causes error event</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-deadbeef'"></meta>
</head>
<body>
<script src="support/inline-script-should-be-blocked.js"></script>
</body>