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