Null dereference performing a "TapAndAHalf" gesture in Google search field
authorjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Dec 2014 01:10:02 +0000 (01:10 +0000)
committerjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Dec 2014 01:10:02 +0000 (01:10 +0000)
commit81d3ce5d9acdb2715c3a9de0b04ca9943e6beb9f
treecf64c78b0531925ebec173de2f1bb100c357ce1d
parentee4977791726b2165bed832aaa0a382fd5fb7ea6
Null dereference performing a "TapAndAHalf" gesture in Google search field

<https://bugs.webkit.org/show_bug.cgi?id=139506>
<rdar://problem/19028828>

Reviewed by Darin Adler.

.:

* ManualTests/ios/tap-and-a-half-gesture-in-empty-text-field.html: Added.

Source/WebKit2:

* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::selectWithGesture):
Add a null check in the case that there is no word range for the
current position.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
ManualTests/ios/tap-and-a-half-gesture-in-empty-text-field.html [new file with mode: 0644]
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm