blob: b4c49faa593eeee895e4e64dd633717f51570ae1 [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("Workers should be governed by 'child-src'.");
injectWorker("/security/contentSecurityPolicy/resources/alert-fail.js", EXPECT_BLOCK);
</script>
</body>
</html>