- From: shwetabin <notifications@github.com>
- Date: Thu, 14 May 2026 09:33:04 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 May 2026 16:33:09 UTC
@shwetabin 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|.
Yes, exactly — a null clipboard change count at read means the ClipboardItem was constructed by the author (e.g., via the constructor), not obtained from read(). Added a clarifying note at the check. See latest commit.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/248#discussion_r3242803976
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/pull/248/review/4291628771@github.com>
Received on Thursday, 14 May 2026 16:33:09 UTC