v8/test
Marja Hölttä 539979f4a9 [Promise combinators] Spec change: check "resolve" early
Promise.{all,allSettled,any,race} should check resolve is a function before
opening their iteratable.

PR: https://github.com/tc39/ecma262/pull/1912

PR for Promise.any: https://github.com/tc39/proposal-promise-any/pull/65

This CL includes the following cleanup changes:
- Made it more explicit that the constructor is a Constructor.
- Removed unnecessary nested try blocks (a try can have both a catch and a label).
- Moved commonly used definitions out of promise-race.tq where they don't belong.
- Made the parameter order of PerformPromiseAll match the spec.


Bug: v8:10578
Change-Id: I9deb5d5106db7350a0d0ad52f165ff2469e7074b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2232544
Commit-Queue: Marja Hölttä <marja@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68260}
2020-06-09 13:48:22 +00:00
..
benchmarks [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
cctest [wasm] Instantiate interpreter for testing directly 2020-06-09 13:04:32 +00:00
common [wasm] Instantiate interpreter for testing directly 2020-06-09 13:04:32 +00:00
debugger [wasm] Add type immediate to RefNull and RefIsNull instructions 2020-06-03 13:27:27 +00:00
debugging [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
fuzzer [wasm-simd][fuzzer] Add i8x16 i16x8 i32x4 abs 2020-06-08 21:40:29 +00:00
fuzzilli Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
inspector [wasm][debug] Flatten locals in scope view. 2020-06-06 18:32:48 +00:00
intl [regexp] Document incorrect assertion in intl/regress-10573.js 2020-06-09 06:27:27 +00:00
js-perf-test [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm] Add tracing support in turbofan 2020-06-09 10:35:33 +00:00
mjsunit [Promise combinators] Spec change: check "resolve" early 2020-06-09 13:48:22 +00:00
mkgrokdump Revert "[heap] Make ReadOnlySpace use bump pointer allocation" 2020-06-05 15:24:46 +00:00
mozilla [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
test262 [Promise combinators] Spec change: check "resolve" early 2020-06-09 13:48:22 +00:00
torque [torque] Generate better code when using & operator on bitfields 2020-05-22 21:59:06 +00:00
unittests cppgc: Add basic heap growing strategy 2020-06-08 17:55:53 +00:00
wasm-api-tests [wasm] Add type immediate to RefNull and RefIsNull instructions 2020-06-03 13:27:27 +00:00
wasm-js [wasm] Update wasm spec tests 2020-05-25 07:59:57 +00:00
wasm-spec-tests [wasm] Declare functions in globals and exports 2020-06-05 05:51:45 +00:00
webkit [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
BUILD.gn Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00