blob: 1e1eceb1b972ffcb67478174537e7f70e2b28960 [file] [log] [blame]
<!DOCTYPE>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<p>This tests that a &lt;meta http-equiv=&quot;X-WebKit-CSP&quot;&gt; is ignored if it is not a descendent of &lt;head&gt;.</p>
<meta http-equiv="X-WebKit-CSP" content="script-src 'self'">
<p id="result">FAIL Content Security Policy should have been ignored. But was honored.</p>
<script>
document.getElementById("result").textContent = 'PASS Content Security Policy was ignored.';
</script>
</body>
</html>