Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7848af1a37aecc610881b05c2a42bff60a8bf82
      
https://github.com/WebKit/WebKit/commit/c7848af1a37aecc610881b05c2a42bff60a8bf82
  Author: Lily Spiniolas <lily_spinio...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to