blob: 8d60c2814fc7779c8f3b85ee1fce6b467b106a01 [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;Content-Security-Policy-Report-Only&quot;&gt; is ignored if it is not a descendent of &lt;head&gt;. This test PASSED if there are no console warnings. Otherwise, it FAILED.</p>
<meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'self'">
<script>
// Do nothing
</script>
</body>
</html>