Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72992ac7d2cd2fcd9a06dc1f79ef1f66f30be8b4
      
https://github.com/WebKit/WebKit/commit/72992ac7d2cd2fcd9a06dc1f79ef1f66f30be8b4
  Author: Lily Spiniolas <lily_spinio...@apple.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M Source/WebKit/UIProcess/ViewGestureController.cpp
    M Source/WebKit/UIProcess/ViewGestureController.h
    M Source/WebKit/UIProcess/ios/ViewGestureControllerIOS.mm
    M Source/WebKit/UIProcess/mac/ViewGestureControllerMac.mm

  Log Message:
  -----------
  [iOS] Backward swipe gesture to return to previous page no longer works in 
reader mode
https://bugs.webkit.org/show_bug.cgi?id=297637
rdar://156611213

Reviewed by Wenson Hsieh.

The refactored swipe navigation logic in 297248@main sources the
 `WebBackForwardList` from the current `WebPageProxy` instead of
`m_webPageProxyForBackForwardListForCurrentSwipe`, resulting in the
list always being empty when in reader mode.

These changes restore the original source for the list on iOS.

* Source/WebKit/UIProcess/ViewGestureController.cpp:
(WebKit::ViewGestureController::itemForSwipeDirection const):
* Source/WebKit/UIProcess/ViewGestureController.h:
* Source/WebKit/UIProcess/ios/ViewGestureControllerIOS.mm:
(WebKit::ViewGestureController::backForwardListForNavigation const):
* Source/WebKit/UIProcess/mac/ViewGestureControllerMac.mm:
(WebKit::ViewGestureController::backForwardListForNavigation const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to