1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 This tests that the XML parser doesn't fail if window.close() is called from a script tag while parsing.
5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.setCanOpenWindows();
8 testRunner
.waitUntilDone();
11 window
.open("resources/xhtml-close-while-parsing-target.xhtml");
13 If you see this text the test has passed.