blob: 92a9af90a34b21a9f5bba468c0444c2c710d648e [file] [log] [blame]
<!-- https://bugs.webkit.org/show_bug.cgi?id=24067 -->
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
window.open("javascript:'<script>alert(opener.document.domain ? \"PASS\" : \"FAIL: Domain is undefined.\"); setTimeout(\"testRunner.notifyDone();\", 200)</scr" + "ipt>'");
} else
alert("This test should redirect to about:blank without crashing. When run in automated mode, it also checks that the resulting document domain is correct.");
window.open("about:blank", "_self");
</script>
<p>FAIL: This document should be replaced with about:blank.</p>