[webkit-changes] [WebKit/WebKit] 10c3a1: [JSC] Update Intl.Locale info's getter to method
Yusuke Suzuki
noreply at github.com
Tue Dec 6 16:49:22 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 10c3a1f127858ec867d53da153362e1222c7ddda
https://github.com/WebKit/WebKit/commit/10c3a1f127858ec867d53da153362e1222c7ddda
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2022-12-06 (Tue, 06 Dec 2022)
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/expectations.yaml
M Source/JavaScriptCore/runtime/IntlLocalePrototype.cpp
Log Message:
-----------
[JSC] Update Intl.Locale info's getter to method
https://bugs.webkit.org/show_bug.cgi?id=248836
rdar://problem/103041601
Reviewed by Justin Michaud.
Nov 30 TC39 meeting decided to change Intl.Locale info getters to methods[1] because of object identity issue[2].
This patch aligns our implementation to this change.
[1]: https://github.com/tc39/proposal-intl-locale-info/pull/65
[2]: https://github.com/tc39/proposal-intl-locale-info/issues/62
* JSTests/stress/intl-locale-info.js:
(throw.new.Error):
(shouldBe):
(let.l.new.Intl.Locale.shouldBe):
* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlLocalePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/257449@main
More information about the webkit-changes
mailing list