Bug 37718 - Safari crashes with certain JavaScript charCode events in EventHandler::needsKeyboardEventDisambiguationQuirks
Summary: Safari crashes with certain JavaScript charCode events in EventHandler::needs...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Normal
Assignee: Alexey Proskuryakov
Keywords: InRadar
Depends on:
Reported: 2010-04-16 11:46 PDT by Alexey Proskuryakov
Modified: 2010-04-16 12:45 PDT (History)
0 users

See Also:

proposed fix (3.95 KB, patch)
2010-04-16 12:18 PDT, Alexey Proskuryakov
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2010-04-16 11:46:53 PDT
Steps to Reproduce:
1. Open http://tlrobinson.net/Recorder/ (with the slash)
2. Click Record
3. In the "Source List" table, double click on an entry and change it ("21" to "Foo Bar" or something)
4. Click stop.
5. Click play.
6. When it tries to replay you entering the text, it crashes.

Comment 1 Alexey Proskuryakov 2010-04-16 12:18:59 PDT
Created attachment 53550 [details]
proposed fix

This only fixes the crash - the original test case still fails, as replayed keyboard events don't result in text input. I'm not sure if that's necessarily a bad thing.
Comment 2 Alexey Proskuryakov 2010-04-16 12:45:56 PDT
Committed <http://trac.webkit.org/changeset/57733>.