Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6ea58a42a90953702692b60e2347b63075394968
      
https://github.com/WebKit/WebKit/commit/6ea58a42a90953702692b60e2347b63075394968
  Author: Yijia Huang <[email protected]>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    A JSTests/stress/temporal-calendar-canonical-set.js
    M JSTests/test262/config.yaml
    M Source/JavaScriptCore/API/tests/TemporalCoreTest.cpp
    M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
    M Source/JavaScriptCore/runtime/IntlObject.cpp
    M Source/JavaScriptCore/runtime/IntlObject.h
    M Source/JavaScriptCore/runtime/OptionsList.h
    M Source/JavaScriptCore/runtime/TemporalCalendar.cpp

  Log Message:
  -----------
  [JSC][Temporal][Intl.Era] Add useIntlEraMonthcode option and narrow 
AvailableCalendars
https://bugs.webkit.org/show_bug.cgi?id=319397
rdar://182225399

Reviewed by Sosuke Suzuki.

Adds a new runtime option --useIntlEraMonthcode (default: off) implementing
part of Intl.Era-monthcode (Stage 4, advanced March 10, 2026).

Also introduces intlAvailableCalendarIndex() — an O(1) case-insensitive
name-to-CalendarID lookup (mirrors intlAvailableTimeZoneIndex) — and
rewrites isBuiltinCalendar to use it. Legacy CLDR aliases (islamicc,
ethiopic-amete-alem) are pre-populated in the index.

Tests: JSTests/stress/temporal-calendar-canonical-set.js
       Source/JavaScriptCore/API/tests/TemporalCoreTest.cpp

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



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

Reply via email to