Bug 129594 - [iOS WebKit2] Keyboard deadlock when accepting/dismissing autocorrection
Summary: [iOS WebKit2] Keyboard deadlock when accepting/dismissing autocorrection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-03-02 17:42 PST by Enrica Casucci
Modified: 2014-03-02 18:01 PST (History)
0 users

See Also:


Attachments
Patch (8.89 KB, patch)
2014-03-02 17:46 PST, Enrica Casucci
sam: 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-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.