[webkit-changes] [WebKit/WebKit] 210b1d: [JSC] Intl.Collator's ignorePunctuation should ref...

Yusuke Suzuki noreply at github.com
Wed Oct 18 03:06:45 PDT 2023


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

  Changed paths:
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/IntlCollator.cpp

  Log Message:
  -----------
  [JSC] Intl.Collator's ignorePunctuation should reflect queried result
https://bugs.webkit.org/show_bug.cgi?id=263313
rdar://117122647

Reviewed by Alexey Shvayka.

For example, th locale's ignorePunctuation is true by default. We should construct Intl.Collator,
querying ignorePunctuation to the created ICU's collator, and setting it as resolvedOptions().ignorePunctuation.

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlCollator.cpp:
(JSC::IntlCollator::initializeCollator):

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




More information about the webkit-changes mailing list