Re: [w3c/clipboard-apis] Add clipboard IDL description. (#158)

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

Based on our last meeting, we probably have to change this text since @annevk 's proposal assumes HTML read returns unsanitized HTML content. This is also compatible with DataTransfer APIs. Since we want to address all the issues in this PR and are not merging this PR, I'll just wait until we come to a consensus here.

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

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

Received on Friday, 4 February 2022 17:35:33 UTC