- From: snianu <notifications@github.com>
- Date: Wed, 05 Jan 2022 13:45:14 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 5 January 2022 21:45:26 UTC
@snianu commented on this pull request. > + Issue: Add definition of sanitized copy. + + 1. If unable to create a sanitized copy, then follow the below steps: + + 1. [=Reject=] |p| with {{"NotAllowedError"}} DOMException in |realm|. + + 1. Return |p|. + + 1. Append |cleanItem| to |cleanItemList|. + + 1. Let |option| be |clipboardItem|'s [=ClipboardItem/clipboard item=]'s [=presentation style=]. + + 1. [=write blobs and option to the clipboard=] with |cleanItemList| and |option|. + + Note: Writing multiple [=/clipboard item=]s to the clipboard is only supported on MacOS. + For other platforms, only the first [=/clipboard item=] should be written to the clipboard. Done. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/158#discussion_r779157454 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/158/review/845092735@github.com>
Received on Wednesday, 5 January 2022 21:45:26 UTC