Re: [w3c/clipboard-apis] What happens if promises to Blobs are not resolved within a reasonable amount of time? (Issue #161)

> Yes, it was one of the use cases I was looking for. However, it still remains unclear, whether reaching that worst case is likely to happen in practice, or whether it's an artificial scenario. :-) Any clue about that?

Personally I haven't, but @inexorabletash has mentioned running into this (internal email thread). I noticed an issue with the following sequence, though:

1. Start the copy operation.
2. Wait for the data to be ready.
3. Switch to different tab while the data is being prepared.
4. The tab in the background starts the actual copy operation when the data is ready.
5. The operation throws since the tab is not focused.

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

Received on Tuesday, 2 November 2021 08:29:47 UTC