[webkit-changes] [WebKit/WebKit] 611f65: Show file names next to file inputs on iOS

Richard Robinson noreply at github.com
Fri Oct 14 15:22:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 611f6582b24af3e95e5bfadb7de0d568084a1ffa
      https://github.com/WebKit/WebKit/commit/611f6582b24af3e95e5bfadb7de0d568084a1ffa
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2022-10-14 (Fri, 14 Oct 2022)

  Changed paths:
    M Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm

  Log Message:
  -----------
  Show file names next to file inputs on iOS
https://bugs.webkit.org/show_bug.cgi?id=245996
rdar://100741418

Reviewed by Aditya Keerthi.

On iOS, when uploading a single image or video, the current behavior is to use
"1 image" or "1 video" as its display name.

This PR changes this behavior to match macOS, which is to display the file's name.

* Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm:
(-[WKFileUploadPanel _chooseMediaItems:]):

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




More information about the webkit-changes mailing list