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

@sanketj 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.

In this case, I would just leave out the note entirely and just leave it as "image/png". It would still be worth understanding this aspect better and then adding some text in the spec as explanation as a follow up.

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

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

Received on Saturday, 18 November 2023 01:09:47 UTC