<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.open("resources/destination.html", "_self");
</script>
<p>If you can still see this text, then the test of window.open(URL, "_self") has failed.</p>