blob: a4d63b4cf1f72bf595cc31dffd0093d61c7211c6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
}
</script>
</head>
<body>
<p>
This script should not execute even though there are parse errors in the
policy.
</p>
<iframe
src="http://127.0.0.1:8000/security/contentSecurityPolicy/resources/echo-script-src.pl?should_run=no&q=http://127.0.0.1:8000/security/contentSecurityPolicy/resources/script.js&csp=default-src%20*%3B%20script-src%20'none'%3B%20%20%3B%20">
</iframe>
</body>
</html>