[Webkit-unassigned] [Bug 16175] javascript:self.close(); " close window javascript doesn't work when window is a tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 06:31:02 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16175





------- Comment #2 from theodorewlee at gmail.com  2007-11-29 06:31 PDT -------
The behavior in Firefox is that this Javascript will close a page (whether it
is a free standing Window or a tab) without any issues. IE7 will close the page
as well (again, whether a free standing Window or tab), but offers up a
confirmation dialog before it will close.

In each of these circumstances, the page/tab with the containing code is not a
page that was opened by Javascript, but rather, by clicking through a link or
landing on a page after submitting a form. 

I agree that it would be nice to have a "_tab" target, to bring Safari inline
with other browsers behavior (and make it more compatible with today's web
apps), the behavior should be changed to mirror Firefox/IE in that this
javascript will close the Window, regardless of whether it is a free standing
Window or a tab.


-- 
Configure bugmail: http://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