- From: snianu <notifications@github.com>
- Date: Mon, 03 Jan 2022 10:34:16 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 3 January 2022 18:34:29 UTC
@snianu commented on this pull request.
> +
+ 1. Let |mimeType| be the result of [=parsing a MIME type=] given |type|.
+
+ 1. If |mimeType| is failure, then throw a {{TypeError}}.
+
+ 1. Let |itemTypeList| be [=this=]'s [=ClipboardItem/clipboardItem=]'s [=list of representations=].
+
+ 1. Let |p| be [=a new promise=] in |realm|.
+
+ 1. For each |representation| in |itemTypeList|:
+
+ 1. If |representation|'s [=representation/MIME type=] is |mimeType|, then:
+
+ 1. Let |p1| be the |representation|'s [=representation/data=].
+
+ 1. [=promise/React=] to |p1|:
Fixed.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/158#discussion_r777639491
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/pull/158/review/842952955@github.com>
Received on Monday, 3 January 2022 18:34:29 UTC