Bug 1874684 - Part 31: Correctly reject invalid durations in some RoundDuration calls...
commit77145ec6376066e3dc7f421176da7c1c3c4b28f0
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:29 +0000 (15 18:27 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:29 +0000 (15 18:27 +0000)
treea20f3703cfbc4930f36ea7f1a962f425f8bde7a0
parent4f70a7669bd4914fa8646feebcfed38f88e660fb
Bug 1874684 - Part 31: Correctly reject invalid durations in some RoundDuration calls. r=sfink

Some RoundDuration calls were incorrectly treated as infallible.

Depends on D204394

Differential Revision: https://phabricator.services.mozilla.com/D204395
js/src/builtin/temporal/Duration.cpp
js/src/builtin/temporal/Duration.h