Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
REGRESSION (r213036): Crash in -[WKContentView _webTouchEventsRecogni…
…zed:] when a touch event arrives after a WebPageProxy has been invalidated https://bugs.webkit.org/show_bug.cgi?id=171539 <rdar://problem/31614982> Reviewed by Tim Horton. Prior to r213036, the layer tree transaction at last touch start was tracked by WebPageProxy::handleTouchEventSynchronously(), which would ask the drawing area proxy for its most recent transaction ID after ensuring that the WebPageProxy was valid. r213036 moved the tracking up to -[WKContentView _webTouchEventsRecognized:], but failed to check if _page was valid before asking for its drawing area proxy's last transaction ID; the drawing area proxy is set to null on WebPageProxy invalidation. * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _webTouchEventsRecognized:]): Added an early return if _page isn't valid. Canonical link: https://commits.webkit.org/188467@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information