[webkit-changes] [WebKit/WebKit] 24199a: Authorization tokens should not be created for mou...
Charlie Wolfe
noreply at github.com
Fri Jan 31 10:48:13 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 24199a5fb09e9449ce4c038cc214b3050550f2a3
https://github.com/WebKit/WebKit/commit/24199a5fb09e9449ce4c038cc214b3050550f2a3
Author: Charlie Wolfe <charliew at apple.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/VerifyUserGestureFromUIProcess.mm
Log Message:
-----------
Authorization tokens should not be created for mouse events that do not create a user gesture
https://bugs.webkit.org/show_bug.cgi?id=286789
rdar://143931977
Reviewed by Pascoe.
Only mouse down and up events create a user gesture.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::sendMouseEvent):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/VerifyUserGestureFromUIProcess.mm:
(TestWebKitAPI::testWindowOpenMouseEvent):
(TestWebKitAPI::TEST(VerifyUserGesture, WindowOpenMouseDown)):
(TestWebKitAPI::TEST(VerifyUserGesture, WindowOpenMouseUp)):
(TestWebKitAPI::TEST(VerifyUserGesture, WindowOpenMouseMove)):
(TestWebKitAPI::TEST(VerifyUserGesture, WindowOpenMouseOver)):
Canonical link: https://commits.webkit.org/289618@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