3 <title>Blur test</title>
\r
5 function buildPopupWindow() {
\r
6 var w = window.open("", 'popupwindow','width=300,height=300,toolbar=no,' +
\r
7 'menubar=no,scrollbars=np,resizable=yes,' +
\r
8 'scrollbars=np,location=no,directories=no,status=no')
\r
11 d.write("<title>Shouldn't have onblur called</title><body " +
\r
12 "onblur='self.close()'><center>Closed?</center></body>")
\r
17 <body onClick="buildPopupWindow();">
\r
19 <p>This tests that a created popup window doesn't immediately receive a blur
\r
20 event because of bad window handling code. For this test to pass, the onblur=""
\r
21 handler in the popup must not be called and the window count must remain at two
\r
22 for a few seconds.</p>
\r