Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07e1827a12519c7f6e8342941d9b8a62c26a7fe2
https://github.com/WebKit/WebKit/commit/07e1827a12519c7f6e8342941d9b8a62c26a7fe2
Author: Lily Spiniolas <[email protected]>
Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths:
M Source/WebKit/UIProcess/Automation/mac/WebAutomationSessionMac.mm
Log Message:
-----------
Crash under WebAutomationSession::platformSimulateMouseInteraction when
running pointerevents/pointerevent_click_during_capture.html?mouse-auxclick WPT
https://bugs.webkit.org/show_bug.cgi?id=280768
rdar://137068514
Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.
Abrar Protyasha determined that web-platform-test
'pointerevent_click_during_capture.html?mouse-auxclick' is crashing due to
dragEventType not getting updated when a right click is simulated in
WebAutomationSession::platformSimulateMouseInteraction. This causes an NSEvent
instantiation with an NSEventType of 0, resulting in a crash. Adding this
missing
update fixes the test crash.
* Source/WebKit/UIProcess/Automation/mac/WebAutomationSessionMac.mm:
(WebKit::WebAutomationSession::platformSimulateMouseInteraction):
Canonical link: https://commits.webkit.org/284577@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes