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

@snianu commented on this pull request.



> +
+       1. If |type| is not in the [=mandatory data types=] list, then [=reject=] |p| with {{"NotAllowedError"}} DOMException in |realm|.
+
+       1. Let |cleanItem| be a sanitized copy of |blob|.
+
+        Issue: Add definition of sanitized copy.
+
+       1. If unable to create a sanitized copy, then follow the below steps:
+       
+        1. [=Reject=] |p| with {{"NotAllowedError"}} DOMException in |realm|.
+
+        1. Return |p|.
+
+       1. Add |cleanItem| to |cleanItemList|.
+      
+      1. Add |cleanItemList| to |clipboardItemList|.

Fixed it.

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

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

Received on Tuesday, 4 January 2022 00:20:24 UTC