3 <p>This test checks a window.close called in the midst of parsing a page.
4 Click the buttons below to load the test pages.
7 <input type=button
value=
"Run Test 1" onclick='window.open(
"resources/window-close-during-parsing-popup1.html")'
>
8 <p>If this test passes, you should see 'PASS: same script tag after close,'
9 but nothing else. In particular, you should not see onload or onunload
13 <input type=button
value=
"Run Test 2" onclick='window.open(
"resources/window-close-during-parsing-popup2.html")'
>
14 <p>If this test passes, you should see a window open and then close.
15 If it fails, Safari will crash.