Summary: | [EFL] Improve warning messages when input value is out of range | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gyuyoung Kim <gyuyoung.kim> | ||||||||||||
Component: | WebKit EFL | Assignee: | Gyuyoung Kim <gyuyoung.kim> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | cdumez, lucas.de.marchi, rakuco, webkit.review.bot | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | 111026 | ||||||||||||||
Bug Blocks: | |||||||||||||||
Attachments: |
|
Description
Gyuyoung Kim
2013-03-06 00:16:35 PST
Created attachment 191668 [details]
Patch
Created attachment 191669 [details]
Screenshot
Comment on attachment 191668 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191668&action=review I seem to remember Benjamin advising to use operator+ for such cases. > Source/WebCore/platform/efl/LocalizedStringsEfl.cpp:461 > + builder.append(maximum.utf8().data()); Also using ".utf8().data()" seems odd here. Comment on attachment 191668 [details] Patch Attachment 191668 [details] did not pass efl-ews (efl): Output: http://webkit-commit-queue.appspot.com/results/17051283 Created attachment 191683 [details]
Patch
(In reply to comment #3) > (From update of attachment 191668 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=191668&action=review > > I seem to remember Benjamin advising to use operator+ for such cases. > > > Source/WebCore/platform/efl/LocalizedStringsEfl.cpp:461 > > + builder.append(maximum.utf8().data()); > > Also using ".utf8().data()" seems odd here. Ok, I modify this patch to be simplified. Created attachment 191688 [details]
Patch
Created attachment 191689 [details]
Patch
Comment on attachment 191689 [details]
Patch
LGTM.
Comment on attachment 191689 [details]
Patch
r=me.
Comment on attachment 191689 [details] Patch Clearing flags on attachment: 191689 Committed r145025: <http://trac.webkit.org/changeset/145025> All reviewed patches have been landed. Closing bug. |