RESOLVED FIXED 100978
[BlackBerry] Add more form validation strings
https://bugs.webkit.org/show_bug.cgi?id=100978
Summary [BlackBerry] Add more form validation strings
Rob Buis
Reported 2012-11-01 12:32:18 PDT
SSIA
Attachments
Patch (3.94 KB, patch)
2012-11-01 14:13 PDT, Rob Buis
no flags
Patch (2.85 KB, patch)
2012-11-01 14:15 PDT, Rob Buis
no flags
Patch (3.98 KB, patch)
2012-11-01 14:53 PDT, Rob Buis
yong.li.webkit: review+
Rob Buis
Comment 1 2012-11-01 14:13:34 PDT
Rob Buis
Comment 2 2012-11-01 14:15:14 PDT
Rob Buis
Comment 3 2012-11-01 14:53:40 PDT
Yong Li
Comment 4 2012-11-01 14:55:13 PDT
Comment on attachment 171938 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=171938&action=review > Source/WebCore/platform/blackberry/LocalizedStringsBlackBerry.cpp:464 > + return String::format(s_resource.getString(BlackBerry::Platform::VALIDATION_RANGE_UNDERFLOW), text.utf8().data()); it would be nice if we verify the format string in debug build, to make sure there is only one %, which is %s.
Yong Li
Comment 5 2012-11-01 14:55:28 PDT
(In reply to comment #4) > (From update of attachment 171938 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=171938&action=review > > > Source/WebCore/platform/blackberry/LocalizedStringsBlackBerry.cpp:464 > > + return String::format(s_resource.getString(BlackBerry::Platform::VALIDATION_RANGE_UNDERFLOW), text.utf8().data()); > > it would be nice if we verify the format string in debug build, to make sure there is only one %, which is %s. can be done in platform code.
Rob Buis
Comment 6 2012-11-01 15:00:15 PDT
Note You need to log in before you can comment on or make changes to this bug.