Bug 132296

Summary: WK2 iOS: crash when handling a synthetic keyboard event
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: WebKit2Assignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

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.

<rdar://problem/16469726>
Comment 1 Enrica Casucci 2014-04-28 12:33:11 PDT
Created attachment 230317 [details]
Patch
Comment 2 Enrica Casucci 2014-04-28 15:02:58 PDT
Committed revision 167903