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

@snianu commented on this pull request.



>       Note: As further described in [[#image-transcode]] this explicitly does not transcode images.
      Rather the original unmodified image data should be exposed to the website.
 
-    1. Resolve |p| with |data|.
+     Issue: Add definition of sanitized copy.
+
+    1. [=Queue a global task=] on the [=clipboard task source=], given |realm|'s [=Realm/global object=], to perform the below steps:
+
+     1. Let |items| be a [=sequence=]<{{ClipboardItem}}>.
+
+     1. For each [=/clipboard item=] |underlyingItem| of |data|:
+
+      1. Let |item| be the result of running the steps of [=create a ClipboardItem object=] given |underlyingItem|.

Yes, I think we can use the current `|realm|` here.

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

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

Received on Wednesday, 2 March 2022 16:55:12 UTC