- From: snianu <notifications@github.com>
- Date: Mon, 14 Feb 2022 17:35:05 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 15 February 2022 01:35:17 UTC
@snianu commented on this pull request. > - 1. If |r| is not "granted", then reject |p| with a "NotAllowedError" DOMException + 1. Let |data| be a copy of the [=system clipboard data=] represented as [=clipboard items=]. For the MIME types defined in the [=mandatory data types=] list, |data| contains the sanitized copy of text/html format, but image/png format has unsanitized payload to preserve meta data. @annevk Added a comment [here ](https://github.com/w3c/clipboard-apis/issues/150#issuecomment-1031684598)and it seems like we agree that we should align the async and DataTransfer APIs sanitization behavior. We would definitely support that change. Anyways, I'll add this issue to the spec as we have different sanitization behavior across Safari and Firefox/Chrome. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/158#discussion_r806376128 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/158/review/882371813@github.com>
Received on Tuesday, 15 February 2022 01:35:17 UTC