Re: [w3c/clipboard-apis] Selective Clipboard Format Read (Issue #240)

EdgarChen left a comment (w3c/clipboard-apis#240)

> <dandclark> ...so if we make getType lazy it could throw, or return empty string, if data is stale
<dandclark> ...throwing has higher compat risk for Chromium
<dandclark> ...would Safari be willing to make change to return empty change for stale data if Chromium changes getType to be lazy?
<dandclark> whsieh: instead of throwing ex, return empty string? Seems OK
<dandclark> ...willing to do that if we don't already
<dandclark> Ashish: And would FF be willing to change to this behavior?
<dandclark> ...if Chromium goes first

Currently, `getType()` is not lazy in Firefox. However, we are willing to make it lazy and also return an empty string for stale data if the spec changes.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/240#issuecomment-3739077782
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/issues/240/3739077782@github.com>

Received on Monday, 12 January 2026 15:17:09 UTC