- From: snianu <notifications@github.com>
- Date: Tue, 01 Feb 2022 14:47:38 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 1 February 2022 22:47:52 UTC
@snianu commented on this pull request. > + 1. If |formatString| is empty then abort these steps. + + 1. Let |payload| be the result of [=UTF-8 decoding=] |item|'s underlying byte sequence. + + 1. Insert |payload| and |presentationStyle| into the [=system clipboard=] using |formatString| as the native clipboard format. + + </div><!-- algorithm --> + + <div class="algorithm" data-algorithm="os-specific-well-known-format"> + <h3 id="to-os-specific-well-known-format"><dfn>os specific well-known format</dfn></h3> + + : Input + :: |mimeType|, a {{Blob/type}} + + : Output + :: |wellKnownFormat|, a platform specific string type. On Mac it's NSString, on Windows and Linux it is fetched from the atom table. Yes, on Windows it's LPCSTR and on Linux it's const char*. Added these to the spec. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/158#discussion_r797111449 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/158/review/869913572@github.com>
Received on Tuesday, 1 February 2022 22:47:52 UTC