Bug 278075
| Summary: | [JSC] U+2212 MINUS SIGN should be rejected in ISO8601 strings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <sosuke> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
In the latest Temporal spec[1], the U+2212 MINUS SIGN cannot be used to represent negative numbers.
This is consistent with RFC3339[2] and RFC9557[3].
However, the current JSC allows the U+2212 MINUS SIGN within ISO8601 strings.
[1]: https://github.com/tc39/proposal-temporal/pull/2856
[2]: https://www.rfc-editor.org/rfc/rfc3339
[3]: https://www.rfc-editor.org/rfc/rfc9557
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/32168
EWS
Committed 282272@main (63415d14935c): <https://commits.webkit.org/282272@main>
Reviewed commits have been landed. Closing PR #32168 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/133899856>