Re: [w3c/clipboard-apis] Support for putting images on the clipboard (#44)

@rniwa 

Would the need for sanitizing the image disappear if the image data is sourced from the browser instead of directly set by the user?
For instance, if the `add` method of `DataTransferItemList` were to accept views of images, e.g. `HTMLImageElement`, `HTMLCanvasElement`, `CanvasRenderingContext2D`, or (independent of documents, usable in workers too:) [`ImageBitMap`](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap), then web authors can set an image, and browsers have full control over what ends up on the clipboard.

-- 
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/44#issuecomment-322784400

Received on Wednesday, 16 August 2017 14:13:37 UTC