Re: [w3c/clipboard-apis] Should reading the clipboard throw DataError or empty clipboard items? (Issue #179)

Throwing seems a little weird to me when there is no data to return. If there truly is no data an empty sequence seems good. And if there is an item but its types cannot be read I could somewhat see wanting to filter such items out, but that might also make it harder to provide decent UI indicating to the user what might have gone wrong. So I'd prolly return the item with no exposed types for that case.

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

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

Received on Saturday, 1 October 2022 06:03:55 UTC