[w3c/clipboard-apis] `ClipboardItem` constructor should throw when `items` is empty (Issue #169)

```
const c = new ClipboardItem([]);
```

Chrome and Firefox both throw a `TypeError`. The spec doesn't cover this case.

CC @snianu 
Keeping this separate from #158 to not widen its scope.

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

Message ID: <w3c/clipboard-apis/issues/169@github.com>

Received on Monday, 14 February 2022 10:21:12 UTC