[Webkit-unassigned] [Bug 26590] Support for String.trim(), String.trimLeft() and String.trimRight() methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 21 18:08:01 PDT 2009


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





------- Comment #3 from darin at apple.com  2009-06-21 18:08 PDT -------
Looks really good. Thanks for taking this on!

The test case needs to cover a lot more cases, including the various characters
that are and are not whitespace.

Also, we frown on the use of mysterious booleans. I think an enum TrimLeft,
TrimRight, TrimBothLeftAndRight would work better than two booleans anyway.


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