Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ee16ce938a8f8535cce4d77bfc0a7150d864dc5b
https://github.com/WebKit/WebKit/commit/ee16ce938a8f8535cce4d77bfc0a7150d864dc5b
Author: Yijia Huang <[email protected]>
Date: 2026-08-11 (Tue, 11 Aug 2026)
Changed paths:
M Source/JavaScriptCore/API/tests/TemporalCoreTest.cpp
M Source/JavaScriptCore/runtime/TemporalCalendar.cpp
M Source/JavaScriptCore/runtime/TemporalPlainDate.cpp
M Source/JavaScriptCore/runtime/temporal/core/CalendarArithmetic.cpp
M Source/JavaScriptCore/runtime/temporal/core/CalendarArithmetic.h
M Source/JavaScriptCore/runtime/temporal/core/CalendarFields.cpp
M Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.cpp
M Source/JavaScriptCore/runtime/temporal/core/ISOArithmetic.cpp
Log Message:
-----------
[JSC][Temporal] Give CalendarDateUntil and NonISODateUntil one home each
https://bugs.webkit.org/show_bug.cgi?id=321538
rdar://184650946
Reviewed by Yusuke Suzuki.
Four functions claimed #sec-temporal-calendardateuntil and only one held an
algorithm. The
CalendarArithmetic.cpp pass-through and the JS wrapper's iso8601 dispatch are
gone; step 4's body is
now nonISODateUntil, so calendarDateUntil is 15 lines of dispatch. Steps 1-2
are hoisted above it as
the spec writes them, which also stops d.until(d) on a non-ISO calendar taking
two field snapshots
before noticing the dates are equal.
No behaviour change: stress suite and testapi unchanged.
Canonical link: https://commits.webkit.org/319002@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications