Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c06792081e5e2ea32b8959d39ce5428f17ff70d
      
https://github.com/WebKit/WebKit/commit/9c06792081e5e2ea32b8959d39ce5428f17ff70d
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp
    M Source/JavaScriptCore/runtime/IntlObject.cpp
    M Source/JavaScriptCore/runtime/IntlObject.h

  Log Message:
  -----------
  Cherry-pick 316407@main (824d2b29e233). 
https://bugs.webkit.org/show_bug.cgi?id=318412

    [JSC] Use modern unit/ skeleton in Intl.NumberFormat
    https://bugs.webkit.org/show_bug.cgi?id=318412
    rdar://181199699

    Reviewed by Sosuke Suzuki.

    unit/ skeleton is encouraged in the modern ICU (ICU 67~), let's use them
    instead of measure-unit / per-measure-unit. Also removing type field
    from MeasureUnit, as type-subtype form is no longer used and it is
    kind-of deprecate status in ICU.

    Also the reason of the failure in 
JSTests/microbenchmarks/intl-number-format-unit-to-parts.js
    was because of this legacy format. Now it should work.

    
https://github.com/unicode-org/icu/blob/main/docs/userguide/format_parse/numbers/skeletons.md#unit

    * JSTests/microbenchmarks/intl-number-format-unit-to-parts.js:
    * Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:
    (JSC::IntlNumberFormat::initializeNumberFormat):
    * Source/JavaScriptCore/runtime/IntlObject.cpp:
    * Source/JavaScriptCore/runtime/IntlObject.h:

    Canonical link: https://commits.webkit.org/316407@main

Canonical link: https://commits.webkit.org/305877.955@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to