Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fdf97620232c4b1891d677678421c5e296c03793
      
https://github.com/WebKit/WebKit/commit/fdf97620232c4b1891d677678421c5e296c03793
  Author: Richard Robinson <[email protected]>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Helpers/cocoa/Foundation+Extras.swift
    M Tools/TestWebKitAPI/Helpers/cocoa/JavaScriptMessages.swift
    M Tools/TestWebKitAPI/Scripts/process-entitlements.sh
    M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift

  Log Message:
  -----------
  [AppKit Gestures] Add a test for clicking to change selection
https://bugs.webkit.org/show_bug.cgi?id=313585
rdar://175798813

Reviewed by Abrar Rahman Protyasha.

Add initial tests that test {double-}clicking at various points within a word 
to change selection.

* Tools/TestWebKitAPI/Helpers/cocoa/Foundation+Extras.swift:
* Tools/TestWebKitAPI/Helpers/cocoa/JavaScriptMessages.swift:

Add/improve some support functions.

* Tools/TestWebKitAPI/Scripts/process-entitlements.sh:

Add a new HID entitlement to allow Recap to simulate clicks and events.

* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift:
(TestWebKitAPILibrary.play(_:)):
(convertToCoreGraphicsScreenCoordinates(_:window:)):
(AppKitGesturesTests.doubleClickingInWordSelectsWord):
(AppKitGesturesTests.clickingInWordChangesSelection(_:)):
(AppKitGesturesTests.clickingChangesSelection):

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



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

Reply via email to