WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 96726
Refactor time format related methods on LocaleWin/Mac/ICU so that they override Localizer methods
https://bugs.webkit.org/show_bug.cgi?id=96726
Summary
Refactor time format related methods on LocaleWin/Mac/ICU so that they overri...
Keishi Hattori
Reported
2012-09-13 22:27:33 PDT
Refactor time format related methods on LocaleWin/Mac/ICU so that they override Localizer methods
Attachments
Patch
(10.57 KB, patch)
2012-09-13 22:34 PDT
,
Keishi Hattori
no flags
Details
Formatted Diff
Diff
Patch
(19.34 KB, patch)
2012-09-14 03:35 PDT
,
Keishi Hattori
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Keishi Hattori
Comment 1
2012-09-13 22:34:08 PDT
Created
attachment 164048
[details]
Patch
Kent Tamura
Comment 2
2012-09-13 22:42:13 PDT
Comment on
attachment 164048
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164048&action=review
ok
> Source/WebCore/ChangeLog:34 > + * platform/text/LocaleICU.cpp: > + (WebCore::LocaleICU::initializeDateTimeFormat): > + (WebCore::LocaleICU::timeFormatText): > + (WebCore::LocaleICU::shortTimeFormatText): > + (WebCore::LocaleICU::timeAMPMLabels): > + * platform/text/LocaleICU.h: > + (LocaleICU): > + * platform/text/LocaleWin.h: > + (LocaleWin): > + * platform/text/LocalizedDateICU.cpp: > + (WebCore::localizedTimeFormatText): > + (WebCore::localizedShortTimeFormatText): > + * platform/text/Localizer.cpp: > + (WebCore): > + (WebCore::Localizer::timeFormatText): > + (WebCore::Localizer::shortTimeFormatText): > + (WebCore::Localizer::timeAMPMLabels): > + * platform/text/Localizer.h: > + (Localizer): > + * platform/text/mac/LocaleMac.h: > + (LocaleMac):
Please write what is changed for each files/functions as possible.
yosin
Comment 3
2012-09-13 23:05:48 PDT
Could you use timeFormat and shortTimeFormat instead of timeFormatText and shortTimeFormatText? Because, timeFormatText() and shortTimeFormatText() returns LDML format. The localizedDateFormatText() returns human readable text, e.g. Day/Month/Year. Thanks in advance!
Keishi Hattori
Comment 4
2012-09-14 03:35:03 PDT
Created
attachment 164092
[details]
Patch
Kent Tamura
Comment 5
2012-09-14 03:38:45 PDT
Comment on
attachment 164092
[details]
Patch ok
WebKit Review Bot
Comment 6
2012-09-14 04:17:16 PDT
Comment on
attachment 164092
[details]
Patch Clearing flags on attachment: 164092 Committed
r128584
: <
http://trac.webkit.org/changeset/128584
>
WebKit Review Bot
Comment 7
2012-09-14 04:17:19 PDT
All reviewed patches have been landed. Closing bug.
Roger Fong
Comment 8
2012-09-14 10:08:13 PDT
Hello, Currently there are one of two revisions that are causing the Windows test bots to exit early after 20 crashes. This is one possible candidate. Do you think this could have caused a large quantity of accessibility tests on Windows 7 to start failing all of a sudden? The Windows bots have suddenly gotten into a terrible state so if you could verify this quickly I'd be greatly appreciative. Thanks Here are the failing tests: accessibility/accessibility-node-memory-management.html: [object DocumentFragment] accessibility/accessibility-node-reparent.html: [object DocumentFragment] accessibility/accessibility-object-detached.html: [object DocumentFragment] accessibility/adjacent-continuations-cause-assertion-failure.html: [object DocumentFragment] accessibility/anchor-linked-anonymous-block-crash.html: [object DocumentFragment] accessibility/anonymous-render-block-in-continuation-causes-crash.html: [object DocumentFragment] accessibility/aria-activedescendant-crash.html: [object DocumentFragment] accessibility/aria-checkbox-checked.html: [object DocumentFragment] accessibility/aria-fallback-roles.html: [object DocumentFragment] accessibility/aria-hidden-update.html: [object DocumentFragment] accessibility/aria-hidden-updates-alldescendants.html: [object DocumentFragment] accessibility/aria-labelledby-overrides-aria-label.html: [object DocumentFragment] accessibility/canvas-accessibilitynodeobject.html: [object DocumentFragment] accessibility/canvas-description-and-role.html: [object DocumentFragment] accessibility/canvas-fallback-content.html: [object DocumentFragment] accessibility/content-changed-notification-causes-crash.html: [object DocumentFragment] accessibility/contenteditable-hidden-div.html: [object DocumentFragment] accessibility/contenteditable-table-check-causes-crash.html: [object DocumentFragment] accessibility/crash-determining-aria-role-when-label-present.html: [object DocumentFragment]
Roger Fong
Comment 9
2012-09-14 12:23:31 PDT
Issue was fixed, thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug