[Webkit-unassigned] [Bug 9743] Repro crash dispatching keyboard event in WebCore::String::String
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sat Jul 8 09:14:31 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9743
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darin at apple.com,
| |adele at apple.com
Component|HTML DOM |Forms
Keywords| |EasyFix, NativeTextField,
| |Regression
------- Comment #3 from darin at apple.com 2006-07-08 09:14 PDT -------
The bug is in HTMLInputElement::defaultEventHandler. The call
to doTextFieldCommandFromEvent assumes that keyEvent will return a non-0 value.
But that's not true when the event is created in JavaScript -- in that case
there is no platform event. Later you crash inside because the passed event is
0.
A check for 0 will eliminate the crash. That leaves us with a separate issue --
keyboard equivalents for editing commands won't work for synthesized events.
--
Configure bugmail: http://bugzilla.opendarwin.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