Bug 131642
| Summary: | [iOS] WebEditorClient::textDidChangeInTextField always thinks that the change is not caused by user typing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | mitz |
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | enrica, rniwa, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
mitz
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |