- From: Edgar Chen <notifications@github.com>
- Date: Thu, 07 May 2026 01:22:44 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 7 May 2026 08:22:52 UTC
@EdgarChen commented on this pull request.
> @@ -918,6 +928,44 @@ url: https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purpo
1. If |representation|'s [=representation/MIME type=] is |mimeType| and |representation|'s [=representation/isCustom=] is |isCustom|, then:
+ 1. If [=this=]'s [=ClipboardItem/clipboard change count at read=] is not null, and the current [=clipboard change count=] is not equal to [=this=]'s [=ClipboardItem/clipboard change count at read=], then [=reject=] |p| with a {{"DataError"}} {{DOMException}} in |realm|, and return |p|.
So if the `clipboard change count` is null, the ClipboardItem is created from the script? Maybe we can have some note somewhere.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/248#pullrequestreview-4242295271
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/pull/248/review/4242295271@github.com>
Received on Thursday, 7 May 2026 08:22:52 UTC