- From: mbrodesser <notifications@github.com>
- Date: Wed, 02 Feb 2022 02:24:20 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/pull/158/review/870340114@github.com>
@mbrodesser commented on this pull request. > + + Note: Clipboard permission is not supported on Safari. However, the write() method must be called inside + a user gesture event and the user must select the paste option from the native context menu that pops up + when write() is called from JS, otherwise, the promise will be rejected. + + 1. If |r| is false, then: + + 1. [=Queue a global task=] on the [=permission task source=], given |realm|'s [=Realm/global object=], to [=reject=] |p| with {{"NotAllowedError"}} {{DOMException}} in |realm|. + + 1. Abort these steps. + + 1. [=Queue a global task=] on the [=clipboard task source=], given |realm|'s [=Realm/global object=], to perform the below steps: + + 1. Let |itemList| and |cleanItemList| be an empty [=sequence=]<{{Blob}}>. + + 1. If |data|'s [=list/size=] is greater than 1, and the current operating system does not support multiple [=/clipboard item=]s on the [=system clipboard data=], then set |data| to |data|[0]. > The conceptual `clipboard item` interacts with the OS so there must be a corresponding clipboard item concept in the OS. This text refers to that concept. Agree. Therefore ``` operating system does not support multiple [=/clipboard item=]s ``` should be changed something like ``` operating system does not support multiple native clipboard items ``` -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/158#discussion_r797460966 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/158/review/870340114@github.com>
Received on Wednesday, 2 February 2022 10:24:33 UTC