Ignore:
Timestamp:
Dec 6, 2015, 10:13:26 PM (10 years ago)
Author:
[email protected]
Message:

[INTL] Implement String.prototype.toLocaleLowerCase in ECMA-402
https://bugs.webkit.org/show_bug.cgi?id=147608

Patch by Andy VanWagoner <[email protected]> on 2015-12-06
Reviewed by Benjamin Poulain.

Source/JavaScriptCore:

Add toLocaleLowerCase using icu u_strToLower.

  • runtime/IntlObject.cpp:

(JSC::defaultLocale): Expose.
(JSC::bestAvailableLocale): Expose.
(JSC::removeUnicodeLocaleExtension): Expose.

  • runtime/IntlObject.h:
  • runtime/StringPrototype.cpp:

(JSC::StringPrototype::finishCreation):
(JSC::stringProtoFuncToLocaleLowerCase): Add.

LayoutTests:

  • js/script-tests/string-toLocaleLowerCase.js: Added.
  • js/string-toLocaleLowerCase-expected.txt: Added.
  • js/string-toLocaleLowerCase.html: Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r193606 r193611  
     12015-12-06  Andy VanWagoner  <[email protected]>
     2
     3        [INTL] Implement String.prototype.toLocaleLowerCase in ECMA-402
     4        https://bugs.webkit.org/show_bug.cgi?id=147608
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Add toLocaleLowerCase using icu u_strToLower.
     9
     10        * runtime/IntlObject.cpp:
     11        (JSC::defaultLocale): Expose.
     12        (JSC::bestAvailableLocale): Expose.
     13        (JSC::removeUnicodeLocaleExtension): Expose.
     14        * runtime/IntlObject.h:
     15        * runtime/StringPrototype.cpp:
     16        (JSC::StringPrototype::finishCreation):
     17        (JSC::stringProtoFuncToLocaleLowerCase): Add.
     18
    1192015-12-06  David Kilzer  <[email protected]>
    220
Note: See TracChangeset for help on using the changeset viewer.