Bug 13957 - REGRESSION (r21367): -[WebView becomeFirstResponder] throws an exception _oldFirstResponderBeforeBecoming is not a valid message outside of a responder's implementation of -becomeFirstResponder
Summary: REGRESSION (r21367): -[WebView becomeFirstResponder] throws an exception _old...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-05-31 15:39 PDT by mitz
Modified: 2007-08-30 16:45 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-05-31 15:39:52 PDT
I have an application that calls -[WebView becomeFirstResponder] and it's throwing an exception:

NSWindow: -_oldFirstResponderBeforeBecoming is not a valid message outside of a responder's implementation of -becomeFirstResponder.

The call to -_oldFirstResponderBeforeBecoming was added in <http://trac.webkit.org/projects/webkit/changeset/21367>.
Comment 1 Adele Peterson 2007-08-30 14:55:47 PDT
<rdar://problem/5451537>
Comment 2 Adele Peterson 2007-08-30 16:45:13 PDT
Darin says that becomesFirstResponder is meant to be called by AppKit and not directly by applications.  Applications should call makeFirstResponder with the object.

Please reopen if you disagree