[Webkit-unassigned] [Bug 49141] use data uri instead of webkit-fake-url for contentEditable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 6 13:42:49 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=49141

--- Comment #13 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #12)
> Sure, here are the steps:
> 1. open a page with images, e.g:
> http://www.bbc.com/news/science-environment-37511861 (or you can open google
> image search and type "landscape")
> 2. right click on any image (or hold on iPad) and pick "Copy picture"
> 3. open this fiddle: https://jsfiddle.net/madkdzre/ and paste the image into
> frame.
> 4.  inspect its url in dev tools.
> 
> Result: you'll see that url of the image looks like this
> "webkit-fake-url://FA85EB54-6F2A-4CC8-86A8-34D527A68789/blablabla.png"
> instead of url to pasted image. And it doesn't matter if you copy image from
> finder or from browser. It also doesn't matter if the image copied from
> browser was referred by url or dataURL string (like in case of google image
> search).
> 
> This is really annoying on desktops, but on iOS Safari is usually the only
> browser, and because of that bug you cannot paste images into any online
> editor. That's the biggest problem.

Thanks for the test case, I can reproduce the issue.

Interestingly, it seems to work fine if I copy from Firefox or Preview.app and then paste in Safari. The issue only seems to happen if we copy from Safari.

-- 
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/20161006/61e31cdb/attachment.html>


More information about the webkit-unassigned mailing list