Bug 278300
| Summary: | [JSC] `Temporal.Instant.prototype.epochMilliseconds` should return floored value | ||
|---|---|---|---|
| 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
According to the latest Temporal spec [1], `Temporal.Instant.prototype.epochMilliseconds` should
return a floored value.
However, the current implementation in JSC returns a truncated value instead of a floored one.
[1]: https://tc39.es/proposal-temporal/#sec-get-temporal.instant.prototype.epochmilliseconds
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/32372
EWS
Committed 282718@main (845ee710b8ee): <https://commits.webkit.org/282718@main>
Reviewed commits have been landed. Closing PR #32372 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/134666158>