Bug 13957

Summary: REGRESSION (r21367): -[WebView becomeFirstResponder] throws an exception _oldFirstResponderBeforeBecoming is not a valid message outside of a responder's implementation of -becomeFirstResponder
Product: WebKit Reporter: mitz
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mjs, timothy
Priority: P1 Keywords: InRadar, Regression
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   

mitz
Reported 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>.
Attachments
Adele Peterson
Comment 1 2007-08-30 14:55:47 PDT
Adele Peterson
Comment 2 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
Note You need to log in before you can comment on or make changes to this bug.