Re: [w3c/editing] [Delayed Clipboard Rendering] Privacy issue while reading data for web custom types (Issue #439)

(I wrote this to whatwg Matrix channel too)

I wonder if async clipboard rendering could happen in a worklet which can't communicate back to the main page. When copy is triggered, page would pass structured clone (including blobs and what not) to the worklet and then paste might or might not happen later by reading the data (converted to the right type) from the worklet.
Yes, the page would need to prepare all the needed data in some internal form at that point, but it wouldn't need to do the possibly slow serialization to various formats.
Having a separate worklet would also let, I hope, UA to do the slow serialization work in a background thread or process.

This is not trying to address the concerns Apple has around sanitization (I'm also personally less worried about that somewhat separate issue).

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

Message ID: <w3c/editing/issues/439/1834537828@github.com>

Received on Thursday, 30 November 2023 20:47:47 UTC