Re: [clipboard-apis] The ClipboardEvent constructor is strange (#10)

Is this on principle, that because `ClipboardEvent.clipboardData` exists, so should `ClipboardEventInit.clipboardData`?

If the only way to get a `DataTransfer` instance is from a trusted `ClipboardEvent` or `DragEvent`, then I don't think there's anything sane that one could do with `ClipboardEventInit.clipboardData`, but it would be more tests to write.

In any case, [`DragEvent.dataTransfer` and `DragEventInit.dataTransfer`](https://html.spec.whatwg.org/#the-dragevent-interface) are nullable, and I agree that's at least better non-nullable equivalents.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/10#issuecomment-125921169

Received on Wednesday, 29 July 2015 11:12:01 UTC