Skip to content

Commit

Permalink
Allow empty ClipboardItem.
Browse files Browse the repository at this point in the history
  • Loading branch information
snianu committed Nov 7, 2023
1 parent ad65071 commit 26fcea7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}.

1. If |options| is empty, then set options["presentationStyle"] = "unspecified".

Expand Down

0 comments on commit 26fcea7

Please sign in to comment.