[Webkit-unassigned] [Bug 124391] text/rtf clipboard data is empty (makes TinyMCE and textbox.io require Flash)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 26 10:24:27 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=124391
--- Comment #4 from Chris Dumez <cdumez at apple.com> ---
We put the RTF data on the pasteboard but we do not allow WebContent to read it at the moment. In PasteboardMac.mm's cocoaTypeFromHTMLClipboardType():
// Blacklist types that might contain subframe information.
if (lowercasedType == "text/rtf" || lowercasedType == "public.rtf" || lowercasedType == "com.apple.traditional-mac-plain-text")
return String();
If you replace with:
if (lowercasedType == "text/rtf" || lowercasedType == "public.rtf")
return NSRTFPboardType;
then the test case works.
However, it looks like someone intentionally blacklisted those (likely for security reasons) so we'll have to investigate why and how to better deal with RTF.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170126/e650b353/attachment-0001.html>
More information about the webkit-unassigned
mailing list