Bug 131642

Summary: [iOS] WebEditorClient::textDidChangeInTextField always thinks that the change is not caused by user typing
Product: WebKit Reporter: mitz
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: enrica, rniwa, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

mitz
Reported 2014-04-14 15:34:22 PDT
The way text input is handled in the iOS port makes it so that by the time WebEditorClient::textDidChangeInTextField is called, UserTypingGestureIndicator::processingUserTypingGesture() is already returning false. For this reason, the WebKit1 implementation of this client function disables the user-gesture check when targeting iOS. We should fix handling of typing on iOS so that the client function can distinguish between programmatic changes and user-typing-initiated changes.
Attachments
Note You need to log in before you can comment on or make changes to this bug.