[Webkit-unassigned] [Bug 8272] Use of window.open & window.close can cause crash

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Jul 16 06:42:13 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8272





------- Comment #4 from dacarson at gmail.com  2006-07-16 06:42 PDT -------
Tried to create a reduced test case. Code below. Open and closing the window
worked fine. Could not find where the defect occurs in the site referenced.

Main.html:
<html>
<A href="#" onClick="window.open('popup.html', '', ''); return false">open</A>
</html>

popup.html:
<html>
<head>
<script type="text/javascript">
function closew() {
        window.opener.location = window.opener.location;
        window.close();
        }
</script>
</head>
<body>
Close window <a href="javascript:closew()">Close</a>
</body>
</html>


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list