[webkit-changes] [WebKit/WebKit] 3937d6: [JSC] Update Intl.NumberFormat / Intl.PluralRules ...

Yusuke Suzuki noreply at github.com
Wed Oct 18 21:31:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3937d689904157cfd6828db9eed0da36944d04e1
      https://github.com/WebKit/WebKit/commit/3937d689904157cfd6828db9eed0da36944d04e1
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M JSTests/stress/intl-numberformat-fd-handling-v2.js
    M JSTests/stress/intl-numberformat.js
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp
    M Source/JavaScriptCore/runtime/IntlNumberFormatInlines.h
    M Source/JavaScriptCore/runtime/IntlPluralRules.cpp

  Log Message:
  -----------
  [JSC] Update Intl.NumberFormat / Intl.PluralRules property access ordering and resolvedOptions key ordering
https://bugs.webkit.org/show_bug.cgi?id=263355
rdar://problem/117181500

Reviewed by Ross Kirsling.

We align these ordering to the spec's ordering[1]. This fixes several test262 failures.

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

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:
(JSC::IntlNumberFormat::resolvedOptions const):
* Source/JavaScriptCore/runtime/IntlNumberFormatInlines.h:
(JSC::setNumberFormatDigitOptions):
* Source/JavaScriptCore/runtime/IntlPluralRules.cpp:
(JSC::IntlPluralRules::resolvedOptions const):

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




More information about the webkit-changes mailing list