Bug 98983 - [Chromium] Calendar picker: should use consistent Localizer object
Summary: [Chromium] Calendar picker: should use consistent Localizer object
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kent Tamura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-10 20:28 PDT by Kent Tamura
Modified: 2012-10-10 21:44 PDT (History)
3 users (show)

See Also:


Attachments
Patch (3.30 KB, patch)
2012-10-10 20:33 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2012-10-10 20:28:18 PDT
Calendar picker: should use consistent Localizer object

In WebKit/chromium/src/DateTimeChooserImpl.cpp, we use two Localizer objects, one if m_localizer and another is 'localizer' local object in writeDocument. We should use single Localizer object.
Comment 1 Kent Tamura 2012-10-10 20:33:11 PDT
Created attachment 168133 [details]
Patch
Comment 2 Kentaro Hara 2012-10-10 20:37:50 PDT
Comment on attachment 168133 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=168133&action=review

Looks reasonable

> Source/WebKit/chromium/ChangeLog:15
> +        environment; e.g. Month labels in a calendar picker were numeric. This
> +        patch fixes it, and this is covered by
> +        fast/forms/date/calendar-picker-appearance.html.

No change in the test result? Or you might want to add a new test that covers this change.
Comment 3 Kent Tamura 2012-10-10 20:41:15 PDT
Comment on attachment 168133 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=168133&action=review

>> Source/WebKit/chromium/ChangeLog:15
>> +        fast/forms/date/calendar-picker-appearance.html.
> 
> No change in the test result? Or you might want to add a new test that covers this change.

The test is already marked as failure in TestExpectations.   I won't add image results to this patch because I don't have handy Linux (ICU) environment.
Comment 4 Kentaro Hara 2012-10-10 20:41:47 PDT
Comment on attachment 168133 [details]
Patch

Makes sense.
Comment 6 WebKit Review Bot 2012-10-10 21:44:48 PDT
Comment on attachment 168133 [details]
Patch

Clearing flags on attachment: 168133

Committed r131011: <http://trac.webkit.org/changeset/131011>
Comment 7 WebKit Review Bot 2012-10-10 21:44:52 PDT
All reviewed patches have been landed.  Closing bug.