When I copy an image to the clipboard with webkit the image is there but not the URL. When I do the same in Safari there is the image AND the URL. This is a REGRESSION!
1. Load http://webkit.org/images/icon-gold.png 2. In ToT, right click and choose "Copy Image" 3. Open a new tab/window and paste into the address bar - nothing 4. Repeat in Safari 2.0.4 - the image address is pasted fine. Viewing the clipboard with Clipboard Viewer (in the Developer Tools) shows a bunch of differences between what's copied from ToT and Safari 2.0.4. Both have identical contents for NeXT TIFF v4.0 pasteboard type. ToT includes a NeXT RTFD pasteboard type that shipping Safari does not. For everything else (WebURLsWithTitlesPboardType, Apple URL pasteboard type, 'url', 'urln', NSStringPboardType, NeXT plain ascii pasteboard type, Apple PICT pasteboard type), ToT has nothing while shipping Safari fills all those in.
in Webkit r19761 it works like in Safari but in Webkit r19779 it does not.
Thanks for regressing that Denis! http://trac.webkit.org/projects/webkit/changeset/19764 looks to me to be the culprit.
<rdar://problem/5067927>
Created attachment 13655 [details] Declare types only once
Created attachment 13656 [details] Actually this one is better
Comment on attachment 13656 [details] Actually this one is better Geoff reviewed this.
Fixed in r20233.