Re: [w3c/clipboard-apis] Allow empty ClipboardItem. (PR #198)

@snianu commented on this pull request.



> @@ -654,7 +654,6 @@ url: https://w3c.github.io/permissions/#permissions-task-source; type: dfn;
    1. Set |clipboardItemObject|'s [=/clipboard item=] to |clipboardItem|.
 
   The <dfn constructor for="ClipboardItem" lt="ClipboardItem(items, options)"><code>new ClipboardItem(<var>items</var>, <var>options</var>)</code></dfn> constructor steps are:
-   1. If |items| is empty, then throw a {{TypeError}}.

@EdgarChen @whsieh

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

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

Received on Wednesday, 8 November 2023 00:18:34 UTC