Re: [w3c/clipboard-apis] Add `unsanitized` option to async clipboard API. (PR #197)

@snianu commented on this pull request.



> @@ -542,6 +542,15 @@ url: https://w3c.github.io/permissions/#permissions-task-source; type: dfn;
    * Custom format [=string/starts with=] `"web "`("web" followed by U+0020 SPACE) prefix
     and suffix (after stripping out `"web "`) passes the [=parsing a MIME type=] check.
 
+ <h3 id="unsanitized-data-types-x"><dfn>Unsanitized data types</dfn></h3>
+
+   These data types MUST NOT be sanitized by UAs:
+
+   * image/png
+
+   <p class=note>
+    The image/png MIME type is not sanitized to preserve meta data.

This was added as part of shipping the `image/png` MIME type in Chromium. I'm not very familiar with what metadata was getting stripped out due to sanitization, so I'll have to talk to the owner to understand all the details.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/197#discussion_r1398019897
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/pull/197/review/1738136573@github.com>

Received on Saturday, 18 November 2023 00:57:58 UTC