blob: 2c327fba906b949bd2f9ad109344d669a5faaf78 [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<script>
function loaded() {
frames[0].location = "javascript:alert('FAIL');";
}
</script>
<p>This test passes if it does not alert FAIL.</p>
<iframe viewsource src="resources/innocent-victim.html" onload="loaded()">
</iframe>
</body>
</html>