Bug 281394
| Summary: | [JSC] Limits values for `Intl.DurationFormat` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
| 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
To align with the behavior of `Temporal.Duration`, a value limit has been added to
`Intl.DurationFormat`[1]. This patch implements that specification.
In the spec, this limit is represented as a double based on seconds. However, to avoid rounding
errors, we represent it as an `Int128` based on nanoseconds.
[1]: https://github.com/tc39/proposal-intl-duration-format/pull/173
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/35117
EWS
Committed 285131@main (67e4f629c1ce): <https://commits.webkit.org/285131@main>
Reviewed commits have been landed. Closing PR #35117 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/137885273>