[Webkit-unassigned] [Bug 26281] REGRESSION: Copying from TextEdit/OmniGraffle and pasting into editable region loses images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 10 00:41:30 PDT 2009


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31124|review?                     |review+
               Flag|                            |




------- Comment #4 from eric at webkit.org  2009-06-10 00:41 PDT -------
(From update of attachment 31124)
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.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list