blob: 033dfbfb8c686d5e6b3de91edba9a729a880d40d [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=\"javascript:`<iframe src=http://localhost:8000/security/contentSecurityPolicy/resources/alert-fail.html></iframe><script>window.testRunner && window.setTimeout(() => testRunner.notifyDone(), 0);</" + "script>`\"></iframe>'";
window.open(test, "_self");
</script>
</body>
</html>