Re: [w3c/clipboard-apis] Defer OS clipboard read from clipboard.read() to ClipboardItem.getType() (PR #248)

@annevk commented on this pull request.



> @@ -830,6 +832,20 @@ url: https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purpo
 
   A {{ClipboardItem}} object has an associated <dfn for="ClipboardItem">types array</dfn>, which is a {{FrozenArray}}&lt;{{DOMString}}&gt;.
 
+  A {{ClipboardItem}} object has an associated <dfn for="ClipboardItem">clipboard change count at read</dfn>, which is initially null. When the {{ClipboardItem}} is created from {{Clipboard/read()}}, this is set to the [=clipboard change count=] at the time the [=system clipboard data=] was snapshotted.

We have "When the {{ClipboardItem}} is created from {{Clipboard/read()}}" multiple times here, but this should probably be in the longer note below or removed completely as this is not normative. The normative requirements are in the `read()` algorithm after all.

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

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

Received on Monday, 22 June 2026 07:50:54 UTC