Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1617fd34a2bcaacaf5bc22fac66ce1a73b8d620b
      
https://github.com/WebKit/WebKit/commit/1617fd34a2bcaacaf5bc22fac66ce1a73b8d620b
  Author: Zak Ridouh <[email protected]>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ios/DragAndDropTestsIOS.mm

  Log Message:
  -----------
  [Site Isolation][iOS] Adding items to a drag from a cross-site iframe fails
<https://bugs.webkit.org/show_bug.cgi?id=325620>
<rdar://problem/188676181>

Reviewed by Charlie Wolfe and Ryosuke Niwa.

Adding an item to a drag started in a cross-site iframe looked up the main 
frame, which isn't in the iframe's process,
so the item was never added. Use the local root frame the request names, as 
requestDragStart does.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ios/DragAndDropTestsIOS.mm

* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::requestAdditionalItemsForDragSession):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ios/DragAndDropTestsIOS.mm:
(TestWebKitAPI::hrefsDroppedAfterAddingLinkFromIframeToDragSession):
(TestWebKitAPI::TEST(DragAndDropTests, AddLinkFromSameSiteIframeToDragSession)):
(TestWebKitAPI::TEST(DragAndDropTests, 
AddLinkFromCrossOriginIframeToDragSession)):

Canonical link: https://commits.webkit.org/322420@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to