Bug 129594

Summary: [iOS WebKit2] Keyboard deadlock when accepting/dismissing autocorrection
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 sam: review+

Description Enrica Casucci 2014-03-02 17:42:02 PST
The keyboard code locks the main thread in some circumstance when it wants to flush the task queue.
Having the main thread locked prevents us from receiving the response from the WebProcess.
this happens typically when the autocorrection bubble is visible and the keybaord is dismissed or the focus changed to another field.

<rdar://problem/16053643>
Comment 1 Enrica Casucci 2014-03-02 17:46:50 PST
Created attachment 225620 [details]
Patch
Comment 2 Enrica Casucci 2014-03-02 18:01:59 PST
Committed revision 164963.