- From: snianu <notifications@github.com>
- Date: Wed, 05 Jan 2022 11:25:10 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 5 January 2022 19:25:23 UTC
@snianu commented on this pull request. > - dictionary ClipboardItemOptions { - PresentationStyle presentationStyle = "unspecified"; + 1. If |mimeType| is failure, then throw a {{TypeError}}. + + 1. Let |itemTypeList| be [=this=]'s [=ClipboardItem/clipboard item=]'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=]. Done. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/158#discussion_r779079918 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/158/review/844980387@github.com>
Received on Wednesday, 5 January 2022 19:25:23 UTC