This test checks a window.close called in the midst of parsing a page. Click the buttons below to load the test pages.


If this test passes, you should see 'PASS: same script tag after close,' but nothing else. In particular, you should not see onload or onunload fire.


If this test passes, you should see a window open and then close. If it fails, Safari will crash.