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

@snianu commented on this pull request.



> +
+      1. For each |blob| in |itemList|:
+
+       1. Let |type| be the |blob|'s {{Blob/type}}.
+
+       1. If |type| is not in the [=mandatory data types=] list, then [=reject=] |p| with {{"NotAllowedError"}} {{DOMException}} in |realm| and abort these steps.
+
+       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|.

Done.

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

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

Received on Wednesday, 5 January 2022 21:43:15 UTC