[Webkit-unassigned] [Bug 19893] event.(dataTransfer|clipboardData).getData('text/html') (onpaste, ondrop)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 16 23:40:20 PDT 2010


--- Comment #3 from Tony Chang (Google) <tony at chromium.org>  2010-03-16 23:40:20 PST ---
(In reply to comment #2)
> Created an attachment (id=50877)
 --> (https://bugs.webkit.org/attachment.cgi?id=50877) [details]
> Patch

It turns out that text/html wasn't returning anything because webkit on mac
doesn't add text/html to the pasteboard (it uses WebArchive for html).  In
fact, it was currently possible to copy from chrome mac and paste into safari
and use getData('text/html')!

I originally tried to handle reading from LegacyWebArchive in the getData
method, but it seemed non-trivial (the WebArchive code I needed was in

I'm not sure which other platforms this will fail on, but I will try to fix win
and chromium platforms after these tests land.

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