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

Now spec throws TypeError when items is empty after #158, i.e.

> The new ClipboardItem(items, options) constructor steps are:
    If items is empty, then throw a [TypeError](https://webidl.spec.whatwg.org/#exceptiondef-typeerror).

Could we close this?

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

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

Received on Friday, 26 August 2022 15:45:23 UTC