<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
testRunner.setCanOpenWindows(); | |
testRunner.setCloseRemainingWindowsWhenComplete(true); | |
} | |
var child = window.open("about:blank", "child"); | |
child.name = "child"; | |
child.location.href = "http://127.0.0.1:8000/security/resources/blank.html"; | |
location.replace("resources/window-open-javascript-url-with-target-blocked.html"); | |
</script> | |
</head> | |
</html> |