Bug 132296 - WK2 iOS: crash when handling a synthetic keyboard event
Summary: WK2 iOS: crash when handling a synthetic keyboard event
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Enrica Casucci
Keywords: InRadar
Depends on:
Reported: 2014-04-28 12:29 PDT by Enrica Casucci
Modified: 2014-04-28 15:02 PDT (History)
0 users

See Also:

Patch (2.04 KB, patch)
2014-04-28 12:33 PDT, Enrica Casucci
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2014-04-28 12:29:17 PDT
A synthetic keyboard event does not contain a valid platform keyboard event.
We should null check keyEvent() before dereferencing, like we already do on Mac.

Comment 1 Enrica Casucci 2014-04-28 12:33:11 PDT
Created attachment 230317 [details]
Comment 2 Enrica Casucci 2014-04-28 15:02:58 PDT
Committed revision 167903