Bug 98983

Summary: [Chromium] Calendar picker: should use consistent Localizer object
Product: WebKit Reporter: Kent Tamura <tkent>
Component: FormsAssignee: Kent Tamura <tkent>
Status: RESOLVED FIXED    
Severity: Normal CC: haraken, morrita, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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.