So let say you have a page named daddy that opens a child window named testbug:
<html>
<head>
<title>daddy: Window.open bug</title>
</head>
<body>
<script type="text/javascript">
var new_win = window.open('', "testbug", 'toolbar=1, menubar=1, status=1, left=0, top=0', true);
</script>
</body>
</html>
If the user focuses on something other than the window with daddy tab and opens this page again the new daddy window opens up a new testbug child window. So now instead of having two daddy windows and one testbug window (as is the behaviour in IE && ff) there is two daddy windows and two testbug windows.
So my question is what do I need to keep this from happening?
PS: This is an internal application and is a very simple version of what we have on the real app.
UPDATE
I submitted this issue to google chrome team and will wait to see their response before deciding what to do with this question.
The only time I see a second
testbugwindow being opened is if I close thedaddywindow and then reopen it. If I focus on another window and then refresh thedaddywindow, the sametestbugwindow remains open.Could you perhaps elaborate some more on which version of Chrome you are using, and your operating system? Your best bet might be to file a bug and work directly with the Chromium support team. They would be able to troubleshoot the scenario and determine if it is replicable.