[Webkit-unassigned] [Bug 17645] DOM ClipboardData.setData does not allow writes during clipboard events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 6 04:55:35 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=17645
Nanne Wielinga <nanne at fastmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nanne at fastmail.com
--- Comment #6 from Nanne Wielinga <nanne at fastmail.com> ---
Similar kind of bug related to: clipboardData.setData
If there is a : inside one of the line from data, then all the enters are removed.
Example: https://jsfiddle.net/pzqe18dw/
Copy from bottom textarea and paste somewhere else.
Code:
clipboardData.setData("text/plain", `test: 1\ntest2\ntest3`)
Results into (broken):
test: 1test2test3
Instead of (expected):
test: 1
test2
test3
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230406/08bb941c/attachment.htm>
More information about the webkit-unassigned
mailing list