[w3c/clipboard-apis] When called without gesture, return an error describing rejection (#66)

I ran into an issue today of the API rejecting with no specific warning in the Chrome console, and no specific error being returned according to the spec.

Turns out I didn't have a user gesture when calling the API.

Does it make sense for the API to reject with a specific warning message or error type to make debugging this problem easier?

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

Received on Wednesday, 14 February 2018 19:32:01 UTC