- From: snianu <notifications@github.com>
- Date: Mon, 01 Nov 2021 16:06:23 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 1 November 2021 23:06:35 UTC
@snianu commented on this pull request. > @@ -632,11 +711,15 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn; 1. Run the following steps [=in parallel=]: 1. Let |r| be the result of running [=check clipboard read permission=] [=in parallel=] + Note: Clipboard permission is not supported on Safari. However, the read() 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 read() is called from JS, otherwise, the promise will be rejected. 1. If |r| is not "granted", then reject |p| with a "NotAllowedError" DOMException It's defined in the [MDN doc,](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) but I don't see an entry for `NotAllowed` error in the `DOMException` [spec](https://webidl.spec.whatwg.org/#idl-DOMException). -- 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/158#discussion_r740596257
Received on Monday, 1 November 2021 23:06:35 UTC