- From: snianu <notifications@github.com>
- Date: Fri, 19 Nov 2021 12:30:32 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 19 November 2021 20:30:44 UTC
@snianu commented on this pull request. > + + 1. For each (|key|, |value|) in |items|: + + 1. Let |mimeType| be the result of [=parse a mime type=] given |key|. + + 1. If |mimeType| is failure, then throw a {{TypeError}}. + + 1. Let |representation| be a new [=representation=]. + + 1. Set |representation|'s [=mime type=] to |key|. + + 1. Set |representation|'s [=data=] to |value|. + + 1. Append |representation| to [=this=]'s [=ClipboardItem/clipboard item=]'s [=list of representations=]. + + 1. Let |types| be the result of running [=create a frozen array=] of {{DOMString}}. Ah, sorry I didn't notice it was inside the loop. Fixed it. -- 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_r753513790
Received on Friday, 19 November 2021 20:30:44 UTC