- From: Johannes Wilm <notifications@github.com>
- Date: Thu, 12 Mar 2026 04:42:46 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/issues/242/4046079830@github.com>
johanneswilm left a comment (w3c/clipboard-apis#242)
Call 2026-02-12:
> 08:19 <whsieh> Rakesh: the issue is that MIME types should not have spaces
08:19 <whsieh> Rakesh: but the spec requires a space due to "web …"
08:20 <whsieh> Rakesh: we should not allow spaces in MIME types, unless it's a custom MIME type on the web ("web ")
08:21 <whsieh> Rakesh: browser engines would need to throw an error in the ClipboardItem ctor
08:21 <whsieh> smaug: this is a question of web compat
08:21 <whsieh> smaug: probably okay? but there is compat implication
08:21 <whsieh> smaug: the spec already has the exception for the "web" prefix
08:22 <whsieh> dandclark: maybe we need to look at the data? (use data)
08:22 <whsieh> dandclark: collect data and see how common this is
08:22 <whsieh> johanneswilm: so what are the next steps? spec doesn't need changes, just align implementations
08:23 <whsieh> dandclark: proposal: add use counter in Chromium side to estimate compat impact
08:23 <whsieh> dandclark: if we find this is common on the web maybe we should revisit this
08:23 <whsieh> Rakesh: we are silently failing today in those cases
08:23 <whsieh> rohan: the ctor would run fine, but the actual write() call would fail
08:24 <whsieh> Rakesh: was trying to understand adding telemetry — we are already silently failing, so is there a real compat concern?
08:25 <whsieh> rohan: can't think of any scenario where developer would be relying on a mime type with a space
08:25 <whsieh> rohan: the unfortunate bit is that the spec tests are passing right now when they shouldn't, according to spec
08:25 <whsieh> rohan: maybe we can at least fix WPT?
08:25 <whsieh> smaug: IDK, websites do weird things
08:26 <whsieh> smaug: adding telemetry/use counter would be a good next step
08:26 <whsieh> Rakesh: seems fine to me
08:27 <whsieh> whsieh: makes sense to me too
08:27 <whsieh> johanneswilm: telemetry in Chromium, then we will discuss later with data
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/242#issuecomment-4046079830
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/issues/242/4046079830@github.com>
Received on Thursday, 12 March 2026 11:42:50 UTC