Bug 104391 - [BlackBerry] Strip whitespace from learned text
Summary: [BlackBerry] Strip whitespace from learned text
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit BlackBerry (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nima Ghanavatian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 12:40 PST by Nima Ghanavatian
Modified: 2012-12-07 14:05 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.71 KB, patch)
2012-12-07 12:42 PST, Nima Ghanavatian
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nima Ghanavatian 2012-12-07 12:40:22 PST
Instead of using remove(), we should be use stripWhiteSpace here, to not only correctly remove whitespace at the start of text but also at the end.
Comment 1 Nima Ghanavatian 2012-12-07 12:42:04 PST
Created attachment 178258 [details]
Patch
Comment 2 Rob Buis 2012-12-07 12:44:09 PST
Comment on attachment 178258 [details]
Patch

LGTM.
Comment 3 WebKit Review Bot 2012-12-07 14:05:21 PST
Comment on attachment 178258 [details]
Patch

Clearing flags on attachment: 178258

Committed r136981: <http://trac.webkit.org/changeset/136981>
Comment 4 WebKit Review Bot 2012-12-07 14:05:25 PST
All reviewed patches have been landed.  Closing bug.