Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (18 sloc) 672 Bytes
<p>This test checks a window.close called in the midst of parsing a page.
Click the buttons below to load the test pages.
<input type=button value="Run Test 1" onclick='"resources/window-close-during-parsing-popup1.html")'>
<p>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
<input type=button value="Run Test 2" onclick='"resources/window-close-during-parsing-popup2.html")'>
<p>If this test passes, you should see a window open and then close.
If it fails, Safari will crash.
Something went wrong with that request. Please try again.