blob: 7846cf7ec4a7276ab6e21f54024ff553a85f80f0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
}
</script>
</head>
<body>
<p>
Loads an iframe which in turns tries to load an external script. The iframe
has a content security policy disabling external scripts. So the script
should not get executed.
</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'">
</iframe>
</body>
</html>