[Webkit-unassigned] [Bug 277942] New: [JSC] Parse a critical flag on TZ annotation for Temporal
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 11 23:32:32 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=277942
Bug ID: 277942
Summary: [JSC] Parse a critical flag on TZ annotation for
Temporal
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aosukeke at gmail.com
RFC 3339[1] and RFC 9557[2] allows that bracketed timezone annotations include a critical flag(!)[3].
It indicate that the parsing should be rejected if there is a conflict between the offset and the
timezone annotation.
Temporal API has added this feature into the spec[4]. While the critical flag does not affect the
behavior of Temporal, parsing must still succeed.
Currently, JSC throws an error when creating a Temporal object from a string that includes a
critical flag.
[1]: https://www.rfc-editor.org/rfc/rfc3339
[2]: https://www.rfc-editor.org/rfc/rfc9557
[3]: https://www.rfc-editor.org/rfc/rfc9557.html#name-inconsistent-time-offset-an
[4]: https://github.com/tc39/proposal-temporal/pull/2397
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240812/30fc1360/attachment-0001.htm>
More information about the webkit-unassigned
mailing list