blob: 3ae44e14415572eb566e5443811093882f7c6aeb [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'">
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
</script>
</head>
<body>
<script>
var test = "javascript:'<iframe src=http://localhost:8000/security/contentSecurityPolicy/resources/alert-fail.html></iframe><script>window.testRunner && window.setTimeout(() => testRunner.notifyDone(), 0);</" + "script>'";
window.open(test, "_self");
</script>
</body>
</html>