blob: ceb308e745d8b0758b71e6012317a02a105fe14d [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
This tests that the XML parser doesn't fail if window.close() is called from a script tag while parsing.
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setCanOpenWindows();
testRunner.waitUntilDone();
}
window.open("resources/xhtml-close-while-parsing-target.xhtml");
</script>
If you see this text the test has passed.
</body>
</html>