WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
278300
[JSC] `Temporal.Instant.prototype.epochMilliseconds` should return floored value
https://bugs.webkit.org/show_bug.cgi?id=278300
Summary
[JSC] `Temporal.Instant.prototype.epochMilliseconds` should return floored value
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
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2024-08-18 20:09:37 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32372
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
<
rdar://problem/134666158
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug