[webkit-changes] [WebKit/WebKit] 07e182: Crash under WebAutomationSession::platformSimulate...
lilyspiniolas
noreply at github.com
Wed Oct 2 14:26:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07e1827a12519c7f6e8342941d9b8a62c26a7fe2
https://github.com/WebKit/WebKit/commit/07e1827a12519c7f6e8342941d9b8a62c26a7fe2
Author: Lily Spiniolas <lily_spiniolas at apple.com>
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
More information about the webkit-changes
mailing list