<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
window.onmessage = function() | |
{ | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
</script> | |
</head> | |
<body> | |
This test passes if there is no alert dialog.<br> | |
<iframe src="http://localhost:8080/security/resources/xss-DENIED-window-open-parent-attacker.html"></iframe> | |
</body> | |
</html> |