Bug 201438 - [macCatalyst] Unable to upload non-image files using drag and drop
Summary: [macCatalyst] Unable to upload non-image files using drag and drop
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
Keywords: InRadar
Depends on:
Reported: 2019-09-03 16:50 PDT by Wenson Hsieh
Modified: 2019-09-03 22:16 PDT (History)
8 users (show)

See Also:

Patch (3.51 KB, patch)
2019-09-03 20:08 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2019-09-03 16:50:54 PDT
To reproduce:
- Launch a macCatalyst app that contains an embedded WKWebView.
- Load https://whsieh.github.io/examples/file-input in the embedded WKWebView.
- Drop a PDF file from Finder into the gray dashed file upload area.

Expected: page should be able to access the dropped PDF file (and subsequently dump information about the file in the output area below)
Observed: the output area is blank
Comment 1 Wenson Hsieh 2019-09-03 20:08:09 PDT
Created attachment 377950 [details]
Comment 2 WebKit Commit Bot 2019-09-03 22:15:44 PDT
Comment on attachment 377950 [details]

Clearing flags on attachment: 377950

Committed r249456: <https://trac.webkit.org/changeset/249456>
Comment 3 WebKit Commit Bot 2019-09-03 22:15:46 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-09-03 22:16:19 PDT