blob: 6528fcf82450b695a7dd7105649b19a52e7d6036 [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.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.setCanOpenWindows();
layoutTestController.waitUntilDone();
}
window.open("resources/xhtml-close-while-parsing-target.xhtml");
</script>
If you see this text the test has passed.
</body>
</html>