Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4afd4e9dff52bf3439add770e68d3b2c48fade09
https://github.com/WebKit/WebKit/commit/4afd4e9dff52bf3439add770e68d3b2c48fade09
Author: Alex Christensen <[email protected]>
Date: 2026-10-07 (Wed, 07 Oct 2026)
Changed paths:
M Source/WebCore/page/DragController.cpp
M Source/WebCore/page/DragController.h
M Source/WebCore/page/EventHandler.cpp
M Source/WebCore/page/EventHandler.h
M Source/WebCore/platform/DragEventTargetData.h
M Source/WebKit/Shared/DragEventForwardingData.h
M Source/WebKit/Shared/DragEventForwardingData.serialization.in
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
Log Message:
-----------
Transform coordinates of drag events when forwarding them to a site isolated
iframe
https://bugs.webkit.org/show_bug.cgi?id=326587
rdar://160790251
Reviewed by Sihui Liu.
This should be unobservable in cross-site iframes after the fix for
rdar://160891159
re-adds the effective origin checks, but in same-site grandchild frames it is
observable.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
* Source/WebCore/page/DragController.cpp:
(WebCore::DragController::performDragOperation):
* Source/WebCore/page/DragController.h:
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::performDragAndDrop):
* Source/WebCore/page/EventHandler.h:
* Source/WebCore/platform/DragEventTargetData.h:
* Source/WebKit/Shared/DragEventForwardingData.h:
* Source/WebKit/Shared/DragEventForwardingData.serialization.in:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::propagateDragAndDrop):
(WebKit::WebPageProxy::performDragOperation):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::performDragOperation):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation,
DropInSameSiteGrandchildOfOffsetRemoteFrame)):
Canonical link: https://commits.webkit.org/323070@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications