Re: [w3c/clipboard-apis] Clarify promise rejection value (#76)

We should definutely return better DOMExceptions, but I don't think we want to touch DataTransfer.

E.g., the spec should be updated to read:

```
   1. If |r| is not granted, then reject |p| with a "NotAllowedError" DOMException.
```

While the spec currently uses a DataTransfer object for `read`/`write`, I believe that we'll need to change that to a more appropriate object because of recent issues that were raised. Specifically https://github.com/w3c/clipboard-apis/issues/41 and https://github.com/w3c/clipboard-apis/issues/44 and [this comment from the TAG review](https://github.com/w3ctag/design-reviews/issues/222#issuecomment-379437797).

-- 
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/76#issuecomment-387861586

Received on Wednesday, 9 May 2018 20:14:49 UTC