- From: Austin Sullivan <notifications@github.com>
- Date: Wed, 22 Sep 2021 14:28:11 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 September 2021 21:28:23 UTC
They're read as files using the [`ReadFilenames()` code path](https://source.chromium.org/chromium/chromium/src/+/main:ui/base/clipboard/clipboard_win.cc;l=530;drc=8aa9dc97551d28dec43afebf525d83bc2aca1c3d). Though it seems that Windows ([`CFSTR_FILENAMEW`](https://source.chromium.org/chromium/chromium/src/+/main:ui/base/clipboard/clipboard_format_type_win.cc;l=261;drc=6997f8a177359bb99598988ed5e900841984d242;bpv=1;bpt=1)) and Mac ([`NSFilenamesPboardType`](https://source.chromium.org/chromium/chromium/src/+/main:ui/base/clipboard/clipboard_format_type_mac.mm;l=97;bpv=1;bpt=0)) actually use custom types rather than `text/uri-list` (which is used on Linux + Android), so I take that back. Should've confirmed in the code first. I realized I wasn't very clear on this above. Yes, you are correct. Reading files is not yet supported for the Async Clipboard API, though we'd like to at some point (see the [tracking bug](https://crbug.com/1099775)). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/155#issuecomment-925343776
Received on Wednesday, 22 September 2021 21:28:23 UTC