Issue 3571: Chrome main window keeps the focus even when another window requests it http://code.google.com/p/chromium/issues/detail?id=3571
New issue report by sanjayma: Chrome Version : 0.2.149.3 URLs (if applicable) : http://www.treksee.com Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 3: OK Firefox 3: OK IE 7: OK What steps will reproduce the problem? 1. Go to http://www.treksee.com 2. Click on the "Tell friends" link in upper right corner. 3. A pop-up window will appear. It will have the focus. 4. Re-focus on the main browser window. 5. Click on the "Tell friends" link again. What is the expected result? In other browsers, the pop-up will regain focus, but not in Chrome. What happens instead? Chrome maintains the focus instead of giving it back to the pop-up. Please provide any additional information below. Attach a screenshot if possible. The code for the pop-up looks much like this (code from http://developer.mozilla.org/en/DOM/window.open): var WindowObjectReference = null; // global variable function openFFPromotionPopup() { if(WindowObjectReference == null || WindowObjectReference.closed) /* if the pointer to the window object in memory does not exist or if such pointer exists but the window was closed */ { WindowObjectReference = window.open("http://www.spreadfirefox.com/", "PromoteFirefoxWindowName", "resizable=yes,scrollbars=yes,status=yes"); /* then create it. The new window will be created and will be brought on top of any other window. */ } else { WindowObjectReference.focus(); /* else the window reference must exist and the window is not closed; therefore, we can bring it back on top of any other window with the focus() method. There would be no need to re-create the window or to reload the referenced resource. */ }; } Issue attributes: Status: Unconfirmed Owner: [EMAIL PROTECTED] Labels: Type-Bug Pri-2 OS-All Area-Misc -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/chromium-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
