16 lines
471 B
HTML
16 lines
471 B
HTML
<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>
|