[webkit-changes] [WebKit/WebKit] 4901da: [iOS] the second pointer region request in a row c...

Devin Rousso noreply at github.com
Wed Oct 12 15:17:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4901da06c405340faa26761b8c47c1fe49025574
      https://github.com/WebKit/WebKit/commit/4901da06c405340faa26761b8c47c1fe49025574
  Author: Devin Rousso <drousso at apple.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  [iOS] the second pointer region request in a row can sometimes get stuck
https://bugs.webkit.org/show_bug.cgi?id=246241
<rdar://problem/100143379>

Reviewed by Tim Horton.

If a second pointer region request is made before the UIProcess is given updated position info, and
the first pointer region request was handled synchronously with an approximation, the second pointer
request's `completion` (which was saved/deferred) will never be called due to an early return.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _pointerInteraction:regionForRequest:defaultRegion:completion:]):

Canonical link: https://commits.webkit.org/255457@main




More information about the webkit-changes mailing list