- From: Edgar Chen <notifications@github.com>
- Date: Mon, 22 Jun 2026 07:12:49 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/pull/248/review/4544865773@github.com>
@EdgarChen commented on this pull request.
>
- 1. For each |format| in |formats|["{{ClipboardUnsanitizedFormats/unsanitized}}"]:
-
- 1. If |format| is equal to [=representation/MIME type=], set |isUnsanitized| to true.
-
- 1. Resolve |representation|'s [=representation/data=] with |systemClipboardRepresentation|'s [=system clipboard representation/data=].
-
- Issue: It should be possible to read the data asynchronously from the system clipboard after the author calls getType, however, this set of steps implies that data will be provided at the time of read.
-
- 1. The user agent, MAY sanitize |representation|'s [=representation/data=], unless |representation|'s [=representation/MIME type=]'s essence is "image/png", which should remain unsanitized to preserve meta data, or if it satisfies the below conditions:
-
- 1. |representation|'s [=representation/MIME type=] is in optional [=unsanitized data types=] list.
-
- 1. |isUnsanitized| is true.
+ Note: The OS clipboard data for this [=representation=] will not be fetched until the author calls {{ClipboardItem/getType()}} on the resulting {{ClipboardItem}} object.
And also the representation’s [data](https://pr-preview.s3.amazonaws.com/shwetabin/clipboard-apis/pull/248.html#representation-data) isn't used then?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/248#pullrequestreview-4544865773
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/pull/248/review/4544865773@github.com>
Received on Monday, 22 June 2026 14:12:53 UTC