[webkit-changes] [WebKit/WebKit] ca350c: [iOS] Improve support for <input type="file" webki...
lilyspiniolas
noreply at github.com
Fri Oct 4 09:34:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca350c23acde53febee2c9aa14ecc39fd68547b3
https://github.com/WebKit/WebKit/commit/ca350c23acde53febee2c9aa14ecc39fd68547b3
Author: Lily Spiniolas <lily_spiniolas at apple.com>
Date: 2024-10-04 (Fri, 04 Oct 2024)
Changed paths:
M Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm
Log Message:
-----------
[iOS] Improve support for <input type="file" webkitdirectory>
https://bugs.webkit.org/show_bug.cgi?id=271705
rdar://125457578
Reviewed by Wenson Hsieh.
WKFileUploadPanel now checks for the webkitdirectory attribute, and if present
sets the mode of the UIDocumentPickerViewController to the required
UIDocumentPickerModeOpen rather than UIDocumentPickerModeImport. The contents
of selected directories are then manually imported in order to be uploaded.
* Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm:
(-[WKFileUploadPanel presentWithParameters:resultListener:]):
Canonical link: https://commits.webkit.org/284685@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