Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dceda81b08d8e1e0bc50a546dbb3d9a61278c484
      
https://github.com/WebKit/WebKit/commit/dceda81b08d8e1e0bc50a546dbb3d9a61278c484
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture 
Tests/BasicAppKitGesturesTests.swift

  Log Message:
  -----------
  [AppKit Gestures] Trackpad swiping between spaces should not trigger back 
navigation when UseAppKitGesturesForGestureEvents is enabled
https://bugs.webkit.org/show_bug.cgi?id=322127
rdar://185354832

Reviewed by Richard Robinson.

This is a follow up from 317071@main.

UseAppKitGesturesForGestureEvents enablement produces unwanted wheel
event forwarding to ViewGestureController, so let's curb that.

Test: 
AppKitGesturesTests/Basic/swipingBetweenSpacesShouldNotTriggerBackNavigation(gesturesForGestureEvents:)

* Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm:
(-[WKAppKitGestureController sendWheelEventForGesture:]):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture 
Tests/BasicAppKitGesturesTests.swift:

Augment the existing test case from 317071@main to also toggle
UseAppKitGesturesForGestureEvents, adding coverage for this scenario.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to