- From: snianu <notifications@github.com>
- Date: Tue, 02 Nov 2021 18:25:19 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 3 November 2021 01:25:32 UTC
@snianu commented on this pull request.
> @@ -701,17 +784,28 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn;
1. If |r| is not "granted", then reject |p| with a "NotAllowedError" DOMException
- 1. Let |cleanItemList| be an empty sequence<{{Blob}}>.
+ 1. Let |itemList| and |cleanItemList| be an empty sequence<{{Blob}}>.
+
+ 1. For each |itemData| in |data|:
+
+ 1. For each |item| in |itemData|:
+ 1. If [=Promise=] to {{Blob}} in |item| is rejected, then throw "Promises to Blobs were rejected." DOMException.
+
+ 1. Add the {{Blob}} in |item| to |itemList| after the promise has been resolved.
Ack.
--
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_r741564505
Received on Wednesday, 3 November 2021 01:25:32 UTC