[iOS] www.wikipedia.org is loading much slower due to FormClient::willBeginInputSession
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 May 2014 23:46:30 +0000 (23:46 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 May 2014 23:46:30 +0000 (23:46 +0000)
commit840242edd2e8aa3ac3724f95ffa1e3f083f32392
treea552ba886d1a377791c6703a1ff4c3ea1c9bc23b
parentfcb8b8c72dc44940af9227421f28069d2157209f
[iOS] wikipedia.org is loading much slower due to FormClient::willBeginInputSession
https://bugs.webkit.org/show_bug.cgi?id=132974

Reviewed by Enrica Casucci.

* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::elementDidFocus): Don’t call FormClient::willBeginInputSession if the
focus isn’t user-initiated, because in that case the UI process will bail out of
-_startAssistingNode:userIsInteracting:userObject: before creating an input session and
calling the -_webView:didStartInputSession:.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm