blob: 8b3b557c533b755e5135c1d19da45b0f5f081125 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<p>This test checks that Content Security Policy delivered via a meta element is not enforced if the element is outside the document's head.</p>
<meta http-equiv="Content-Security-Policy" content="script-src 'none'">
<script>
alert("PASS (1/1)");
</script>
</body>
</html>