[Webkit-unassigned] [Bug 96799] WebString for Chromium has no way to do case-insensitive comparisons
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 14 16:41:35 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=96799
--- Comment #6 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2012-09-14 16:42:02 PST ---
(In reply to comment #5)
> In chromium code you can convert a WebString to base::string16 and do a case-insensitive comparison there. That seems just as easy.
>
> Case-insensitive comparisons are a bit tricky - depending on your locale and the exact use case it could mean one of many things. Upper/lowercasing are not reversable operations on arbitrary unicode strings.
^^^ This. Chromium shouldn't be holding onto WebString. It is just a data type used to pass information across the API boundary. I'd be surprised if the cost of copying a WebString matters.
--
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