WebCore/manual-tests/window-close-during-parsing.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

<html>
<body>
<p>This test checks a window.close called in the midst of parsing a page.
   Click the buttons below to load the test pages.
</p>
<hr>
<input type=button value="Run Test 1" onclick='window.open("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 
   fire.
</p>
<hr>
<input type=button value="Run Test 2" onclick='window.open("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.
</p>
</body>
</html>