Bug 278300

Summary: [JSC] `Temporal.Instant.prototype.epochMilliseconds` should return floored value
Product: WebKit Reporter: Sosuke Suzuki <sosuke>
Component: JavaScriptCoreAssignee: 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
Reported 2024-08-18 19:55:10 PDT
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
Sosuke Suzuki
Comment 1 2024-08-18 20:09:37 PDT
EWS
Comment 2 2024-08-25 17:34:01 PDT
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
Comment 3 2024-08-25 17:34:14 PDT
Note You need to log in before you can comment on or make changes to this bug.