[webkit-changes] [WebKit/WebKit] 7e2deb: [JSC] Reflect the latest update in Intl.Locale inf...

Yusuke Suzuki noreply at github.com
Thu Feb 16 18:38:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7e2deb203d53a225fa971d7fb8763dae3e493228
      https://github.com/WebKit/WebKit/commit/7e2deb203d53a225fa971d7fb8763dae3e493228
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M JSTests/stress/intl-date-pattern-includes-literal-text.js
    M JSTests/stress/intl-locale-info.js
    M JSTests/stress/intl-locale-invalid-hourCycles.js
    M JSTests/test262/config.yaml
    M Source/JavaScriptCore/runtime/IntlLocalePrototype.cpp

  Log Message:
  -----------
  [JSC] Reflect the latest update in Intl.Locale info proposal
https://bugs.webkit.org/show_bug.cgi?id=252444
rdar://105570888

Reviewed by Mark Lam.

January TC39 meeting decided that Intl.Locale info getters should be replaced with getXXX methods[1].
This patch reflects this spec change to our implementation.

[1]: https://github.com/tc39/proposal-intl-locale-info/commit/c6daaee2c71bd932408469785d32a6e740e6ca07

* JSTests/stress/intl-date-pattern-includes-literal-text.js:
* JSTests/stress/intl-locale-info.js:
(throw.new.Error):
(shouldBe):
(let.l.new.Intl.Locale.shouldBe):
* JSTests/stress/intl-locale-invalid-hourCycles.js:
(main):
* JSTests/test262/config.yaml:
* Source/JavaScriptCore/runtime/IntlLocalePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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




More information about the webkit-changes mailing list