- From: snianu <notifications@github.com>
- Date: Fri, 03 Nov 2023 11:36:36 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 3 November 2023 18:36:43 UTC
@snianu commented on this pull request. > @@ -841,7 +861,11 @@ url: https://w3c.github.io/permissions/#permissions-task-source; type: dfn; Issue: It should be possible to read the data asynchronously from the system clipboard after the author calls getType, however, this set of steps implies that data will be provided at the time of read. - 1. The user agent, MAY sanitize |representation|'s [=representation/data=], unless |representation|'s [=representation/MIME type=]'s essence is "image/png", which should remain unsanitized to preserve meta data. + 1. The user agent, MAY sanitize |representation|'s [=representation/data=], unless it satisfies the below conditions: Yeah, I agree with you, but [we spent almost a year and half](https://github.com/w3c/clipboard-apis/issues/150) trying to define sanitization, and neither Gecko nor Webkit wants to agree on a definition. At this point I think we just want to add `unsanitized` option to this spec and leave the contentious algorithms out of the spec. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/197#discussion_r1382098981 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/197/review/1713363868@github.com>
Received on Friday, 3 November 2023 18:36:43 UTC