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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 28 12:01:34 PST 2007


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

           Summary: javascript:self.close();" close window javascript
                    doesn't work when window is a tab
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: theodorewlee at gmail.com


Using the following javascript/html code:

<form><input type="button" value="Close Window"
onClick="javascript:self.close();"></center></form>

Safari will close a window, but only when that Window is not a tabbed window.
When you have this code in a window that is a tab, pressing the button does
nothing.


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