[webkit-changes] [WebKit/WebKit] 9b549d: [JSC] Update `Intl.DurationFormat#resolvedOptions`...

SUZUKI Sosuke noreply at github.com
Thu Sep 19 00:35:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b549da4ad304c7e60bd88b6705098a2c4b5c5ff
      https://github.com/WebKit/WebKit/commit/9b549da4ad304c7e60bd88b6705098a2c4b5c5ff
  Author: Sosuke Suzuki <aosukeke at gmail.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M JSTests/stress/intl-durationformat.js
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/IntlDurationFormat.cpp

  Log Message:
  -----------
  [JSC] Update `Intl.DurationFormat#resolvedOptions` to the latest spec
https://bugs.webkit.org/show_bug.cgi?id=279940

Reviewed by Yusuke Suzuki.

This patch makes the following changes to update `Intl.DurationFormat.prototype.resolvedOptions` to
the latest spec:

  - Does not put `fractionalDigits` when it is `undefined`[1]
  - Put `numberingSystem` before `style`[2]

[1]: https://github.com/tc39/proposal-intl-duration-format/pull/167
[2]: https://github.com/tc39/proposal-intl-duration-format/pull/172

* Source/JavaScriptCore/runtime/IntlDurationFormat.cpp:
(JSC::IntlDurationFormat::resolvedOptions const):
* JSTests/test262/expectations.yaml:
* JSTests/stress/intl-durationformat.js:
(test):

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



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


More information about the webkit-changes mailing list