blob: 2e26908fe5480e5cbcff1aeef66bcb758bf8ebd0 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ contentSecurityPolicyExtensionMode=v3 ] -->
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' http://localhost:8000">
<script src="../../../resources/dump-as-text.js"></script>
<p><br>Test that CSP for manifest V3 extensions allows http loopback IP addresses for the script-src directive.</p>
</head>
<body>
<div id="result" text="PASS">
FAIL
</div>
<script src='http://localhost:8000/security/contentSecurityPolicy/resources/script.js'></script>
</body>
</html>