[webkit-changes] [WebKit/WebKit] 6f9534: Crash under -[NSEvent _trackSwipeEventWithOptions:...

Simon Fraser noreply at github.com
Wed Sep 6 08:38:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f953477b997e27556cae4916aa00846d091e079
      https://github.com/WebKit/WebKit/commit/6f953477b997e27556cae4916aa00846d091e079
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M Source/WebKit/UIProcess/mac/ViewGestureControllerMac.mm

  Log Message:
  -----------
  Crash under -[NSEvent _trackSwipeEventWithOptions:dampenAmountThresholdMin:max:trackingDistance:axis:velocityFilterClass:usingHandler:]
https://bugs.webkit.org/show_bug.cgi?id=261174
rdar://114552141

Reviewed by Tim Horton.

AppKit is throwing an exception for some reason about the event type or phase, but it's not clear why.
For now, just catch the exception.

* Source/WebKit/UIProcess/mac/ViewGestureControllerMac.mm:
(WebKit::ViewGestureController::trackSwipeGesture):

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




More information about the webkit-changes mailing list