Re: [w3c/clipboard-apis] Add clipboard IDL description. (#158)

@snianu commented on this pull request.



> +
+        1. Let |v1| be the result of [=/encoding=] |v|.
+
+        1. Let |blobData| be a {{Blob}} created using |v1| with its {{Blob/type}} set to |mimeType|, [=serialize a MIME type|serialized=].
+
+        1. Resolve |p| with |blobData|.
+
+       1. If |v| is a {{Blob}}, then follow the below steps:
+
+        1. Resolve |p| with |v|.
+
+      1. If |p1| was rejected, then:
+
+       1. [=Reject=] |p| with {{"NotFoundError"}} {{DOMException}} in |realm|.
+
+   1. [=Reject=] |p| with {{"NotFoundError"}} {{DOMException}} in |realm|.

Done.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/158#discussion_r779126441
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/pull/158/review/845048690@github.com>

Received on Wednesday, 5 January 2022 20:47:46 UTC