Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0c9c5585d939cafe08dca103a85be6448f082415
https://github.com/WebKit/WebKit/commit/0c9c5585d939cafe08dca103a85be6448f082415
Author: Tim Chevalier <[email protected]>
Date: 2025-04-15 (Tue, 15 Apr 2025)
Changed paths:
M JSTests/stress/temporal-instant.js
M Source/JavaScriptCore/runtime/ISO8601.cpp
M Source/JavaScriptCore/runtime/ISO8601.h
Log Message:
-----------
[JSC] Handle unknown annotations in Temporal strings
https://bugs.webkit.org/show_bug.cgi?id=223166
Reviewed by Yusuke Suzuki.
This is part of a normative change to the Temporal proposal:
https://github.com/tc39/proposal-temporal/pull/2397
This change stops assuming that all calendar annotations have the `u-ca`
key, and instead parses the key according to the grammar in the spec
text. Unknown annotations are ignored unless they have the `!` flag, in
which case they cause the string to throw.
* JSTests/stress/temporal-instant.js:
* Source/JavaScriptCore/runtime/ISO8601.cpp:
(JSC::ISO8601::canBeCalendar):
(JSC::ISO8601::parseCalendar):
* Source/JavaScriptCore/runtime/ISO8601.h:
Canonical link: https://commits.webkit.org/293705@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes