Bug 257792
| Summary: | Add support for `DataTransferItem.getAsFileSystemHandle()` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Thomas Steiner <tomac> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | karlcow, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Thomas Steiner
The `getAsFileSystemHandle()` method of the `DataTransferItem` interface returns a `FileSystemFileHandle` if the dragged item is a file, or a `FileSystemDirectoryHandle` if the dragged item is a directory.
MDN: https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsFileSystemHandle
Article: https://developer.chrome.com/articles/file-system-access/#drag-and-drop-integration
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/110768225>