[webkit-changes] [WebKit/WebKit] c7848a: Copy files provided by WKWebView clients on iOS th...
lilyspiniolas
noreply at github.com
Thu Oct 3 18:30:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c7848af1a37aecc610881b05c2a42bff60a8bf82
https://github.com/WebKit/WebKit/commit/c7848af1a37aecc610881b05c2a42bff60a8bf82
Author: Lily Spiniolas <lily_spiniolas at apple.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/UIDelegate.mm
M Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.h
M Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm
Log Message:
-----------
Copy files provided by WKWebView clients on iOS that implement runOpenPanel instead of moving them
https://bugs.webkit.org/show_bug.cgi?id=280847
rdar://137172156
Reviewed by Abrar Rahman Protyasha.
UIDelegate::UIClient::runOpenPanel now copies the URLs provided by implementations of runOpenPanel in WKUIDelegates rather than moving them. This ensures that the workaround for https://bugs.webkit.org/show_bug.cgi?id=228683 will not result in files being lost if the URL points to an original file rather than an imported copy.
* Source/WebKit/UIProcess/Cocoa/UIDelegate.mm:
(WebKit::UIDelegate::UIClient::runOpenPanel):
* Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.h:
* Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm:
Canonical link: https://commits.webkit.org/284651@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