Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: edd1b043a4cbfc1991fa133f8324d40ff6dc3c49
      
https://github.com/WebKit/WebKit/commit/edd1b043a4cbfc1991fa133f8324d40ff6dc3c49
  Author: Keita Nonaka <[email protected]>
  Date:   2026-06-17 (Wed, 17 Jun 2026)

  Changed paths:
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/IntlNumberFormat.h
    M Source/JavaScriptCore/runtime/IntlNumberFormatInlines.h
    M Source/JavaScriptCore/runtime/IntlPluralRules.cpp
    M Source/JavaScriptCore/runtime/IntlPluralRules.h

  Log Message:
  -----------
  [JSC] Fix `Intl.PluralRules ( [ locales [ , options ] ] )` to handle 
`compactDisplay`
https://bugs.webkit.org/show_bug.cgi?id=317085

Reviewed by Darin Adler.

This patch fixes `Intl.PluralRules([locales[, options]])`[1] to handle 
`compactDisplay` correctly.

[1]: https://tc39.es/ecma402/#sec-intl.pluralrules

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlNumberFormat.h:
* Source/JavaScriptCore/runtime/IntlNumberFormatInlines.h:
(JSC::appendNumberFormatNotationOptionsToSkeleton):
* Source/JavaScriptCore/runtime/IntlPluralRules.cpp:
(JSC::IntlPluralRules::initializePluralRules):
* Source/JavaScriptCore/runtime/IntlPluralRules.h:

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



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

Reply via email to