Re: [w3c/clipboard-apis] Clarifying `clipboard.readText()` behaviour (Issue #236)

trflynn89 left a comment (w3c/clipboard-apis#236)

> Hmm, I think this is also a bug, I feel like the write step has been mixed here... It looks like we don't need to create a new representation, but resolve p with systemClipboardRepresentation’s [data](https://w3c.github.io/clipboard-apis/#system-clipboard-representation-data) directly?

Yeah I think so - that's ultimately what we did in Ladybird, and it behaves as expected:

https://github.com/LadybirdBrowser/ladybird/blob/912009f6b37f76891474f58e2df55b2d946b6788/Libraries/LibWeb/Clipboard/Clipboard.cpp#L379-L382



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

Message ID: <w3c/clipboard-apis/issues/236/2854721079@github.com>

Received on Tuesday, 6 May 2025 14:09:12 UTC