Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5919411cb04f540ca591ee2d5f6f848b1cad29cc
      
https://github.com/WebKit/WebKit/commit/5919411cb04f540ca591ee2d5f6f848b1cad29cc
  Author: Richard Robinson <[email protected]>
  Date:   2026-08-14 (Fri, 14 Aug 2026)

  Changed paths:
    M Source/WebCore/dom/Node.cpp
    M Tools/TestWebKitAPI/Helpers/cocoa/JavaScriptMessages.swift
    M Tools/TestWebKitAPI/Helpers/cocoa/JavaScriptTypes.swift
    M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture 
Tests/BasicAppKitGesturesTests.swift

  Log Message:
  -----------
  [AppKit Gestures] Some events are not fired when event listeners are added to 
`document`
https://bugs.webkit.org/show_bug.cgi?id=321730
rdar://184861414

Reviewed by Abrar Rahman Protyasha.

Fix some logic to be agnostic across Cocoa platforms.

Test: Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture 
Tests/BasicAppKitGesturesTests.swift

* Source/WebCore/dom/Node.cpp:
(WebCore::Node::willRespondToMouseMoveEvents const):
(WebCore::Node::willRespondToMouseClickEventsWithEditability const):
* Tools/TestWebKitAPI/Helpers/cocoa/JavaScriptMessages.swift:
(InstallEventLog.expression):
(InstallEventLog.encoded):
* Tools/TestWebKitAPI/Helpers/cocoa/JavaScriptTypes.swift:
(DOMElement.encoded):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture 
Tests/BasicAppKitGesturesTests.swift:
(AppKitGesturesTests.singleClickFiresPointerMouseAndClickEvents(_:)):
(AppKitGesturesTests.singleClickFiresEventsForListenersOnTheDocument):

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



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

Reply via email to