[Webkit-unassigned] [Bug 17310] Assertion failure in EventHandler::handleTextInputEvent ((underlyingEvent)->type() == keypressEvent) at Yahoo! Finance
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 12 01:23:18 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17310
ap at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oliver at apple.com
Component|New Bugs |HTML Editing
------- Comment #1 from ap at webkit.org 2008-02-12 01:23 PDT -------
This happens because selection changes between input method preflight and
actual DOM dispatch.
In handleInputMethodKeydown(), the current selection is not editable (null),
and this call is ignored. During keydown dispatch, JavaScript changes focus to
a text field, so when we reach defaultKeyboardEventHandler(), the current
selection is editable. So, we see the keydown in -[WebHTMLView
_interceptEditingKeyEvent:shouldSaveCommand:] without having preflighted it.
As a result, text insertion happens during keydown default handling, while it
should happen during keypress. This is a real bug, and not just a wrong
assertion. The symptom is rather minor though.
--
Configure bugmail: http://bugs.webkit.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