[Webkit-unassigned] [Bug 30121] [GTK] Segfault while testing fast/events/keydown-keypress-preventDefault.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 7 01:08:56 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30121


Martin Robinson <martin.james.robinson at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40769|                            |review?
               Flag|                            |




--- Comment #4 from Martin Robinson <martin.james.robinson at gmail.com>  2009-10-07 01:08:56 PDT ---
Created an attachment (id=40769)
 --> (https://bugs.webkit.org/attachment.cgi?id=40769)
Fix for this issue

In this case it appears as though preventDefault() was preventing the creation
of a keypress events. Preedit and completed composition data is processed
during keypress events. Thus, in this test, the unused data was still lingering
during the next keydown event. The attached patch handles this situation by
first clearing the previous data, if any exists during keydown events.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list