Create a new TextEdit document Add some text and images Copy everything Paste into a content editable region (Blot should be OK) Images are missing. This is because I'll
This is because WebKit's _documentFragmentFromPasteboard prefers RTF over RTFD.
Created attachment 31124 [details] patch
Is it possible to make an automated test for this bug?
Comment on attachment 31124 [details] patch r=me. Can we please please fix all that copy/paste code in that function in a follow-up patch? It's so disgusting! A single static function which took a PboardType and returned a fragment would get rid of *all* those stupid lines! Heck, we could even make it just an Array of Pboard types so that the preferred order was much easier to read and this kind of bug wouldn't happen again. ;) Oh, and it should be possible to make a test for this... Admittedly, kinda hard, but I would expect event.dataTransfer.setData() to be able to test this.
Will land.
Sending WebKit/mac/ChangeLog Sending WebKit/mac/WebView/WebHTMLView.mm Transmitting file data .. Committed revision 44668. Next time, please base your patches in the root directory so we can use the awesome-sauce WebKitTools.