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 Bugs | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adele Peterson
<rdar://problem/5451537>
Adele Peterson
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