Commit 68bd67b0 authored by Sathya Gunasekaran's avatar Sathya Gunasekaran Committed by Commit Bot

[test262] Roll

Make sure to adapt the formal parameters for the Promise.allSettled
method.

Bug: v8:7834
Change-Id: I255fc695f5ac0d62ed18f5aad78665feb38c241a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1580239
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Reviewed-by: 's avatarMathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60996}
parent 596bea72
...@@ -182,7 +182,7 @@ deps = { ...@@ -182,7 +182,7 @@ deps = {
'v8/test/mozilla/data': 'v8/test/mozilla/data':
Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be', Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be',
'v8/test/test262/data': 'v8/test/test262/data':
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + '8e5ab69e8c31135265cba570d54d41f6ade19e45', Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + 'ba013cf7fc049b1802b785d1756600d01b13e5a1',
'v8/test/test262/harness': 'v8/test/test262/harness':
Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '9bd99c6f33be10561970bfe16f2f16a8a3d88722', Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '9bd99c6f33be10561970bfe16f2f16a8a3d88722',
'v8/third_party/qemu-linux-x64': { 'v8/third_party/qemu-linux-x64': {
......
...@@ -4361,7 +4361,7 @@ void Genesis::InitializeGlobal_harmony_weak_refs() { ...@@ -4361,7 +4361,7 @@ void Genesis::InitializeGlobal_harmony_weak_refs() {
void Genesis::InitializeGlobal_harmony_promise_all_settled() { void Genesis::InitializeGlobal_harmony_promise_all_settled() {
if (!FLAG_harmony_promise_all_settled) return; if (!FLAG_harmony_promise_all_settled) return;
SimpleInstallFunction(isolate(), isolate()->promise_function(), "allSettled", SimpleInstallFunction(isolate(), isolate()->promise_function(), "allSettled",
Builtins::kPromiseAllSettled, 1, false); Builtins::kPromiseAllSettled, 1, true);
Factory* factory = isolate()->factory(); Factory* factory = isolate()->factory();
{ {
Handle<SharedFunctionInfo> info = SimpleCreateSharedFunctionInfo( Handle<SharedFunctionInfo> info = SimpleCreateSharedFunctionInfo(
......
...@@ -60,10 +60,12 @@ ...@@ -60,10 +60,12 @@
'language/expressions/assignment/S11.13.1_A6*': [FAIL], 'language/expressions/assignment/S11.13.1_A6*': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=4709 # https://bugs.chromium.org/p/v8/issues/detail?id=4709
'built-ins/Promise/reject-function-name': [FAIL],
'built-ins/Promise/resolve-function-name': [FAIL],
'built-ins/Promise/all/resolve-element-function-name': [FAIL], 'built-ins/Promise/all/resolve-element-function-name': [FAIL],
'built-ins/Promise/allSettled/reject-element-function-name': [FAIL],
'built-ins/Promise/allSettled/resolve-element-function-name': [FAIL],
'built-ins/Promise/executor-function-name': [FAIL], 'built-ins/Promise/executor-function-name': [FAIL],
'built-ins/Promise/reject-function-name': [FAIL],
'built-ins/Promise/resolve-function-name': [FAIL],
'built-ins/Proxy/revocable/revocation-function-name': [FAIL], 'built-ins/Proxy/revocable/revocation-function-name': [FAIL],
'language/expressions/assignment/fn-name-lhs-cover': [FAIL], 'language/expressions/assignment/fn-name-lhs-cover': [FAIL],
'language/expressions/assignment/fn-name-lhs-member': [FAIL], 'language/expressions/assignment/fn-name-lhs-member': [FAIL],
...@@ -537,6 +539,11 @@ ...@@ -537,6 +539,11 @@
'built-ins/Promise/all/capability-resolve-throws-reject': [FAIL], 'built-ins/Promise/all/capability-resolve-throws-reject': [FAIL],
'built-ins/Promise/all/invoke-resolve-get-error-close': [FAIL], 'built-ins/Promise/all/invoke-resolve-get-error-close': [FAIL],
'built-ins/Promise/all/species-get-error': [FAIL], 'built-ins/Promise/all/species-get-error': [FAIL],
'built-ins/Promise/allSettled/capability-executor-called-twice': [FAIL],
'built-ins/Promise/allSettled/capability-resolve-throws-no-close': [FAIL],
'built-ins/Promise/allSettled/capability-resolve-throws-reject': [FAIL],
'built-ins/Promise/allSettled/invoke-resolve-get-error-close': [FAIL],
'built-ins/Promise/allSettled/species-get-error': [FAIL],
'built-ins/Promise/race/capability-executor-called-twice': [FAIL], 'built-ins/Promise/race/capability-executor-called-twice': [FAIL],
'built-ins/Promise/race/invoke-resolve-get-error-close': [FAIL], 'built-ins/Promise/race/invoke-resolve-get-error-close': [FAIL],
'built-ins/Promise/race/species-get-error': [FAIL], 'built-ins/Promise/race/species-get-error': [FAIL],
...@@ -664,6 +671,10 @@ ...@@ -664,6 +671,10 @@
['asan == True', { ['asan == True', {
# BUG(v8:4653): Test262 tests which rely on quit() are not compatible with # BUG(v8:4653): Test262 tests which rely on quit() are not compatible with
# asan's --omit-quit flag. # asan's --omit-quit flag.
'built-ins/Promise/allSettled/reject-deferred': [FAIL],
'built-ins/Promise/allSettled/reject-ignored-deferred': [FAIL],
'built-ins/Promise/allSettled/reject-ignored-immed': [FAIL],
'built-ins/Promise/allSettled/reject-immed': [FAIL],
'built-ins/Promise/prototype/then/deferred-is-resolved-value': [SKIP], 'built-ins/Promise/prototype/then/deferred-is-resolved-value': [SKIP],
'language/expressions/dynamic-import/always-create-new-promise': [SKIP], 'language/expressions/dynamic-import/always-create-new-promise': [SKIP],
'language/expressions/dynamic-import/assign-expr-get-value-abrupt-throws': [SKIP], 'language/expressions/dynamic-import/assign-expr-get-value-abrupt-throws': [SKIP],
......
...@@ -60,6 +60,7 @@ FEATURE_FLAGS = { ...@@ -60,6 +60,7 @@ FEATURE_FLAGS = {
'Object.fromEntries': '--harmony-object-from-entries', 'Object.fromEntries': '--harmony-object-from-entries',
'hashbang': '--harmony-hashbang', 'hashbang': '--harmony-hashbang',
'BigInt': '--harmony-intl-bigint', 'BigInt': '--harmony-intl-bigint',
'Promise.allSettled': '--harmony-promise-all-settled',
} }
SKIPPED_FEATURES = set(['class-methods-private', SKIPPED_FEATURES = set(['class-methods-private',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment