[Webkit-unassigned] [Bug 218519] [GTK] Can't paste image data (like image/png) from the clipboard in WebKitGtk browsers.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 21 05:33:37 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=218519
Carlos Garcia Campos <cgarcia at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |achristensen at apple.com,
| |youennf at gmail.com
--- Comment #8 from Carlos Garcia Campos <cgarcia at igalia.com> ---
I can reproduce it now. I don't think this is specific to the GTK port. DataTransfer::items() only returns items that are considered to be safe for DOM, see:
bool Pasteboard::isSafeTypeForDOMToReadAndWrite(const String& type)
{
return type == "text/plain" || type == "text/html" || type == "text/uri-list";
}
So, images are not allowed. I don't know if that's WebKit specific or part of a spec, though.
--
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/20210121/62bb2d86/attachment-0001.htm>
More information about the webkit-unassigned
mailing list