[Webkit-unassigned] [Bug 49141] New: data uri instead of webkit-fake-url for contentEditable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 7 06:39:42 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49141
Summary: data uri instead of webkit-fake-url for
contentEditable
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: chrisjshull at gmail.com
When an element is set to be contentEditable, images can be pasted into the element. Currently the img src is set to a webkit-fake-url which makes the image data inaccessible via JS (I think because the same domain policy?).
However, this makes no sense in this case; if you are going to let people paste text into an element, and let JS access the text, then the same should be true for images.
One way which might get around this is if the img's src was not a webkit-fake-url, but a data uri (I would guess, but I am not certain).
Example Use Case:
Taking a screenshot to clipboard, which can be pasted into an online bug reporter.
(Much easier than; screenshot to file, drag file onto file input.)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list