- From: mbrodesser <notifications@github.com>
- Date: Tue, 19 Oct 2021 03:14:42 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 October 2021 10:14:54 UTC
@mbrodesser commented on this pull request.
>
- dictionary ClipboardItemOptions {
- PresentationStyle presentationStyle = "unspecified";
+ 1. Let |p| be a new [=Promise=].
+
+ 1. If |type| is not listed in the [=mandatory data types=] list, then reject |p| with a "The type was not found" DOMException.
+
+ 1. Let |data| be the result of reading the |type| from the [=system clipboard=].
> If it contains a resolved promise, then we resolve |p| with the Blob data.
That's not what's described in the algorithm, or? It always reads from the system clipboard.
--
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_r731710829
Received on Tuesday, 19 October 2021 10:14:54 UTC