- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 27 Oct 2021 04:10:12 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 October 2021 11:10:25 UTC
@annevk 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.
Yeah, this probably also needs to be updated to use the language in https://webidl.spec.whatwg.org/#es-promise-manipulation.
-- 
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_r737357033
Received on Wednesday, 27 October 2021 11:10:25 UTC