Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / xhtml-close-while-parsing.xhtml
blobceb308e745d8b0758b71e6012317a02a105fe14d
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <body>
3 This tests that the XML parser doesn't fail if window.close() is called from a script tag while parsing.
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows();
8 testRunner.waitUntilDone();
11 window.open("resources/xhtml-close-while-parsing-target.xhtml");
12 </script>
13 If you see this text the test has passed.
14 </body>
15 </html>