- From: snianu <notifications@github.com>
- Date: Mon, 12 Feb 2024 15:18:24 -0800
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 12 February 2024 23:18:30 UTC
Just wanted to note that the only changes we're making in `ClipboardItem` interface IDL for delayed clipboard rendering is the addition of a callback: `callback ClipboardItemValueCallback = ClipboardItemValue();` Many of the IDL definitions for `ClipboardItem` interface are existing changes: https://w3c.github.io/clipboard-apis/#clipboard-item-interface > typedef (DOMString or Blob) ClipboardItemValue; // should this be `Promise<ClipboardItemValue>` instead? The reason why we don't have a Promise here is because IDL compiler doesn't support union of promises. Here is the relevant issue for this: https://github.com/whatwg/webidl/issues/1278#issuecomment-1461691793 -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/925#issuecomment-1939768411 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/925/1939768411@github.com>
Received on Monday, 12 February 2024 23:18:30 UTC