- fixed <rdar://problem/
4093306> Safari crashes if Esc key is held down during series
of authentication sheets
* Panels.subproj/WebAuthenticationPanel.m:
(-[WebAuthenticationPanel cancel:]):
retain and autorelease self. This is a workaround for an AppKit key-handling issue, which I wrote up as:
<rdar://problem/
4118422> Key-down events can be sent to a closed window if a key is kept pressed down
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9170
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-05-13 John Sullivan <sullivan@apple.com>
+
+ Reviewed by Kevin.
+
+ - fixed <rdar://problem/4093306> Safari crashes if Esc key is held down during series
+ of authentication sheets
+
+ * Panels.subproj/WebAuthenticationPanel.m:
+ (-[WebAuthenticationPanel cancel:]):
+ retain and autorelease self. This is a workaround for an AppKit key-handling issue, which I wrote up as:
+ <rdar://problem/4118422> Key-down events can be sent to a closed window if a key is kept pressed down
+
2005-05-12 John Sullivan <sullivan@apple.com>
Reviewed by Kevin.
// crash later when finishing button hit tracking. So we make
// sure it lives on a bit longer.
[[panel retain] autorelease];
+
+ // This is required as a workaround for AppKit issue 4118422
+ [[self retain] autorelease];
[panel close];
if (usingSheet) {