- From: snianu <notifications@github.com>
- Date: Wed, 05 Jan 2022 13:38:18 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 5 January 2022 21:38:30 UTC
@snianu commented on this pull request.
> +
+ 1. If |representation|'s [=representation/MIME type=] contains "text/plain", then:
+
+ 1. Let |p1| be the |representation|'s [=representation/data=].
+
+ 1. [=promise/React=] to |p1|:
+
+ 1. If |p1| was fulfilled with value |v|, then:
+
+ 1. If |v| is a {{DOMString}}, then follow the below steps:
+
+ 1. Resolve |p| with |v|.
+
+ 1. If |v| is a {{Blob}}, then follow the below steps:
+
+ 1. Let |blobData| be a {{DOMString}} created using |v|'s {{Blob/text()}}.
Done.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/158#discussion_r779153838
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/pull/158/review/845087539@github.com>
Received on Wednesday, 5 January 2022 21:38:30 UTC