v8/test
Frank Tang 0cf8befb4e [Temporal] Fix relativeTo passing bug
Fix BalanceDuration to pass relativeTo to BalancePossiblyInfiniteDurationResult
and then pass to NanosecondsToDays.

The bug is introduced in
https://chromium-review.googlesource.com/c/v8/v8/+/3781117

The spec text in 4-a of BalancePossiblyInfiniteDuration is
"a. Let result be ? NanosecondsToDays(nanoseconds, relativeTo)."
but the code wrote
"a. Let result be ? NanosecondsToDays(nanoseconds, *undefined*)."

Spec Text:
https://tc39.es/proposal-temporal/#sec-temporal-balancepossiblyinfiniteduration

Bug: v8:11544
Change-Id: I3ea9a3b71521cdcc210e9db370d6e849fcde56ee
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3834431
Commit-Queue: Frank Tang <ftang@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82570}
2022-08-18 17:31:40 +00:00
..
benchmarks [infra] Change all Python shebangs to Python3 2022-08-05 14:55:00 +00:00
bigint [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
cctest [test] Migrate cctest/test-assembler-x64 to unittests/ 2022-08-18 12:41:11 +00:00
common Reland "[wasm-gc] Add extern.externalize" 2022-08-18 07:41:29 +00:00
debugger [debug] Fix source position around class literals 2022-08-16 07:16:47 +00:00
debugging [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
fuzzer [fuzzer][wasm-gc] Add types nullfuncref, nullexternref and nullref 2022-08-12 08:17:29 +00:00
fuzzilli [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
inspector [stringrefs] Support stringrefs in DevTools inspection 2022-08-17 19:12:09 +00:00
intl [Intl] Remove DateTimeFormat order check not throw RangeError 2022-07-27 05:31:00 +00:00
js-perf-test [turbofan] More benchmarks for BigInt operations 2022-08-17 08:56:08 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [message] Improve IteratorSymbolNonCallable error message 2022-08-09 15:32:42 +00:00
mjsunit [wasm-gc] Disallow anyref in JS interop 2022-08-18 10:47:58 +00:00
mkgrokdump [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
mozilla [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
test262 [Temporal] Fix relativeTo passing bug 2022-08-18 17:31:40 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [heap] Fix test that requires manual GC scheduling 2022-08-18 14:39:58 +00:00
wasm-api-tests [wasm-gc] Split any and extern type 2022-07-28 13:09:55 +00:00
wasm-js [wasm] Update spec tests 2022-08-11 11:16:17 +00:00
wasm-spec-tests Disable memory_copy test on stress variant 2022-08-16 18:05:35 +00:00
webkit Skip fast/js/deep-recursion-test on NumFuzz until bug is fixed 2022-08-16 09:31:07 +00:00
BUILD.gn [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
OWNERS