[webkit-changes] [WebKit/WebKit] b3d166: REGRESSION (254780 at main): [ Test262 ] 8 Test262 te...

Yusuke Suzuki noreply at github.com
Tue Sep 27 20:35:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b3d1660f59a6d1c8341926b86a16500c14d6bb44
      https://github.com/WebKit/WebKit/commit/b3d1660f59a6d1c8341926b86a16500c14d6bb44
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M Source/JavaScriptCore/runtime/TemporalObject.cpp

  Log Message:
  -----------
  REGRESSION (254780 at 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




More information about the webkit-changes mailing list