Bug 18590
Summary: | Popup opened from iframes not working | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jay Campan <jcampan> |
Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 525.x (Safari 3.1) | ||
Hardware: | PC | ||
OS: | Windows XP |
Jay Campan
Open a page with an iframe that opens a pop-up window.
Expected: the pop-up window is opened
Actual: the iframe content is replaced with the pop-up content
Notes:
- this happens with the "Block Pop-Up Windows" pref on and off.
- this works fine in IE 7 and FireFox 2.
Here is the sample pages I am using:
page.html
<html>
The IFrame below opens a popup<br>
<iframe src="popup.html"></iframe>
</html>
popup.html:
<html>
This page opens a popup.
<script>
window.open('hello.html', name,
"status = 1, height = 300, width = 300, resizable = 0" );
</script>
</html>
hello.html:
<html>
hello
</html>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Weinig
I believe the issue is that the 'name' variable is evaluating to undefined, though I haven't checked why that is an issue.