Issue 4158: Javascript won't open an alert box when run from within a popup  
window
http://code.google.com/p/chromium/issues/detail?id=4158

Comment #4 by jimpalmer:
Having the same issue with our product and confirm/alert dialogs not  
showing in popup
windows.

popup links:
<a onclick="window.open('popup.html', 'test', 'height=470,width=550');  
return false;"
target="_blank" href="popup.html">anchor popup</a>
<div  
onclick="window.open('popup.html', 'test', 'height=470,width=550');">div  
popup</div>
<input type="button" onclick="window.open('popup.html', 'test',
'height=470,width=550');" value="button popup">

popup.html window code to try an alert() and a confirm():
<body>
        <input type="button" value="alert" onClick="alert('alert test');">
        <input type="button" value="confirm" onClick="confirm('confirm test');">
</body>

Have tried a slew of window.open features - basically the only way an alert  
or
confirm will work is if chrome renders the "popup" in a new tab by default  
which
happens when you  
include 'menubar=1,status=1,titlebar=1,toolbar=1,scrollbars=1'
chrome will automatically open the "popup" in a tab in the default  
configuration.



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to