<!DOCTYPE> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
</head> | |
<body> | |
<p>This tests that a <meta http-equiv="X-WebKit-CSP-Report-Only"> is ignored if it is not a descendent of <head>. This test PASSED if there are no console warnings. Otherwise, it FAILED.</p> | |
<meta http-equiv="X-WebKit-CSP-Report-Only" content="script-src 'self'"> | |
<script> | |
// Do nothing | |
</script> | |
</body> | |
</html> |