[Webkit-unassigned] [Bug 36482] Regression(r55766): [Chromium] chromiumDataObject.hasData() reports true for an empty clipboard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 24 03:47:16 PDT 2010


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


Roland Steiner <rolandsteiner at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51485|0                           |1
        is obsolete|                            |
  Attachment #51485|review?                     |
               Flag|                            |
  Attachment #51487|                            |review?
               Flag|                            |




--- Comment #10 from Roland Steiner <rolandsteiner at chromium.org>  2010-03-24 03:47:15 PST ---
Created an attachment (id=51487)
 --> (https://bugs.webkit.org/attachment.cgi?id=51487)
patch - complete rewrite, put code into ChromiumDataObject, retain input
uri-list string

I guess it's better to re-write the code after all:

.) Put the processing code into ChromiumDataObject, removed the friend clause,
replaced the code in ClipboardChromium with one-liners.
.) Added a layout test (skipped on all platforms besides Chromium)

This change also goes towards MIME-type handling, in that the input uri-list is
no longer stored as a vector, but as a simple string.
It is returned verbatim on getData("text/uri-list"). The code still extracts
the first valid URL within that string (may be empty) and will return that on
getData("URL").

-- 
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