Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b521ef5df5cfd6ccc54b34ffbae697905a209455
https://github.com/WebKit/WebKit/commit/b521ef5df5cfd6ccc54b34ffbae697905a209455
Author: Anne van Kesteren <[email protected]>
Date: 2024-02-28 (Wed, 28 Feb 2024)
Changed paths:
M Source/WebCore/dom/EventContext.cpp
M Source/WebCore/dom/EventDispatcher.cpp
M Source/WebCore/loader/NavigationAction.cpp
Log Message:
-----------
Use dynamicDowncast<MouseEvent> in NavigationAction
https://bugs.webkit.org/show_bug.cgi?id=270227
Reviewed by Chris Dumez.
For security & performance.
In EventContext we move up some of the boolean conditions up such that
there should be less downcasting during event dispatch.
* Source/WebCore/dom/EventContext.cpp:
(WebCore::EventContext::handleLocalEvents const):
* Source/WebCore/dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchEvent):
* Source/WebCore/loader/NavigationAction.cpp:
(WebCore::mouseEventDataForFirstMouseEvent):
Canonical link: https://commits.webkit.org/275450@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