Bug 1874684 - Part 22: Compute the precise fraction in Duration.p.total and ZonedDate...
commit3fffd1931970d86c5d797a02828a8bfc43fa262c
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:25 +0000 (15 18:27 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:25 +0000 (15 18:27 +0000)
treef58b459aff24d9f10346e519cd848abce3d73602
parent725674a695f4eb1f52367fc9d32eab2d16873b6c
Bug 1874684 - Part 22: Compute the precise fraction in Duration.p.total and ZonedDateTime.p.hoursInDay. r=dminor

Required to pass the tests from <https://github.com/tc39/test262/pull/3978>.

Differential Revision: https://phabricator.services.mozilla.com/D198556
js/src/builtin/temporal/Duration.cpp
js/src/builtin/temporal/Temporal.cpp
js/src/builtin/temporal/Temporal.h
js/src/builtin/temporal/ZonedDateTime.cpp
js/src/jsapi-tests/moz.build
js/src/jsapi-tests/testFractionToDouble.cpp [new file with mode: 0644]