- From: Rob Wu <notifications@github.com>
- Date: Wed, 16 Aug 2017 14:12:47 +0000 (UTC)
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 16 August 2017 14:13:37 UTC
@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