blob: bb7d353f3eb2ba1aa2850ef39fdc937d76d9c05e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
<script src="/security/contentSecurityPolicy/resources/child-src-test.js"></script>
<meta http-equiv="Content-Security-Policy" content="child-src 'none';">
</head>
<body>
<script>
description("SharedWorkers should be governed by 'child-src'.");
injectSharedWorker("/security/contentSecurityPolicy/resources/alert-fail.js", EXPECT_BLOCK);
</script>
</body>
</html>