Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b3d1660f59a6d1c8341926b86a16500c14d6bb44
https://github.com/WebKit/WebKit/commit/b3d1660f59a6d1c8341926b86a16500c14d6bb44
Author: Yusuke Suzuki <[email protected]>
Date: 2022-09-27 (Tue, 27 Sep 2022)
Changed paths:
M Source/JavaScriptCore/runtime/TemporalObject.cpp
Log Message:
-----------
REGRESSION (254780@main): [ Test262 ] 8 Test262 tests consistently fail
https://bugs.webkit.org/show_bug.cgi?id=245756
<rdar://100480438>
Reviewed by Ross Kirsling.
We should have special Temporal's GetOption since it is different from Intl's
GetOption.
In this case, intlNumberOption only accepts unsigned, but Temporal is accepting
double values.
This patch adds the spec-aligned implementation for Temporal and use it.
It will fix test262 failures.
* Source/JavaScriptCore/runtime/TemporalObject.cpp:
(JSC::doubleNumberOption):
(JSC::temporalRoundingIncrement):
Canonical link: https://commits.webkit.org/254941@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes