[Webkit-unassigned] [Bug 20661] New: JavaScript can close a window
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 5 05:34:21 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20661
Summary: JavaScript can close a window
Product: WebKit
Version: 312.x
Platform: PC
URL: http://skypher.com/SkyLined/Repro/Safari/Closer
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: skylined at chromium.org
JavaScript can close a window, even if it was not opened through JavaScript.
This is done by closing an IFRAME within the page:
<BODY onload="go()">
<IFRAME name="target"></IFRAME>
</BODY>
<SCRIPT>
function go() {
oWin = window.open("about:blank", "target");
oWin.close();
}
</SCRIPT>
--
Configure bugmail: https://bugs.webkit.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