[webkit-changes] [WebKit/WebKit] 3d7e86: Realign handling of Temporal options with spec
Ross Kirsling
noreply at github.com
Tue Nov 7 17:04:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3d7e86f4423f5912f9dce2c3c18689c32524baa4
https://github.com/WebKit/WebKit/commit/3d7e86f4423f5912f9dce2c3c18689c32524baa4
Author: Ross Kirsling <rkirsling at gmail.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/TemporalObject.cpp
Log Message:
-----------
Realign handling of Temporal options with spec
https://bugs.webkit.org/show_bug.cgi?id=264326
Reviewed by Yusuke Suzuki.
As of the latest Temporal spec...
1. fractionalSecondDigits has been updated to use floor instead of trunc.
2. roundingIncrement now has a maximum of 10^9 and does trunc (not floor) prior to checking against said maximum.
* JSTests/test262/expectations.yaml:
Mark 14 test cases as passing.
* Source/JavaScriptCore/runtime/TemporalObject.cpp:
(JSC::temporalFractionalSecondDigits):
(JSC::temporalRoundingIncrement):
Canonical link: https://commits.webkit.org/270360@main
More information about the webkit-changes
mailing list