From b951b0c2fec462ea467b0829bf5d2b6a3fb02778 Mon Sep 17 00:00:00 2001 From: "zha.wei" Date: Tue, 15 Aug 2023 21:36:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?description:ECMA=20Script=202023=20262?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zha.wei --- test262/config.py | 2 +- test262/es2023_tests.txt | 286 +++++++++++++++++++++++++++++++++ test262/es2abc_skip_tests.json | 4 +- test262/intl_skip_tests.json | 6 +- test262/skip_tests.json | 22 ++- 5 files changed, 315 insertions(+), 5 deletions(-) create mode 100644 test262/es2023_tests.txt diff --git a/test262/config.py b/test262/config.py index 760750c506..a27366e76c 100755 --- a/test262/config.py +++ b/test262/config.py @@ -83,7 +83,7 @@ with open(os.path.join("test262", "module_tests.txt")) as m_file: with open(os.path.join("test262", "dynamicImport_tests.txt")) as d_file: DYNAMIC_IMPORT_LIST = d_file.read().splitlines() -TEST262_GIT_HASH = "bad7c0487ee1edf4a9059ff2a51fd19fc2d53170" +TEST262_GIT_HASH = "6291e42a727aa8269fb649919de3c59dad365aaf" HARNESS_GIT_HASH = "9c499f028eb24e67781435c0bb442e00343eb39d" ESHOST_GIT_HASH = "fa2d4d27d9d6152002bdef36ee2d17e98b886268" ESNEXT_GIT_HASH = "281eb10b2844929a7c0ac04527f5b42ce56509fd" diff --git a/test262/es2023_tests.txt b/test262/es2023_tests.txt new file mode 100644 index 0000000000..2dd9b369b3 --- /dev/null +++ b/test262/es2023_tests.txt @@ -0,0 +1,286 @@ +built-ins/Array/prototype/findLast/predicate-call-parameters.js +built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js +built-ins/Array/prototype/findLast/maximum-index.js +built-ins/Array/prototype/findLast/call-with-boolean.js +built-ins/Array/prototype/findLast/not-a-constructor.js +built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js +built-ins/Array/prototype/findLast/length.js +built-ins/Array/prototype/findLast/return-abrupt-from-property.js +built-ins/Array/prototype/findLast/return-abrupt-from-this.js +built-ins/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js +built-ins/Array/prototype/findLast/predicate-call-this-strict.js +built-ins/Array/prototype/findLast/predicate-not-called-on-empty-array.js +built-ins/Array/prototype/findLast/prop-desc.js +built-ins/Array/prototype/findLast/predicate-is-not-callable-throws.js +built-ins/Array/prototype/findLast/predicate-call-this-non-strict.js +built-ins/Array/prototype/findLast/predicate-called-for-each-array-property.js +built-ins/Array/prototype/findLast/return-found-value-predicate-result-is-true.js +built-ins/Array/prototype/findLast/return-abrupt-from-this-length.js +built-ins/Array/prototype/findLast/array-altered-during-loop.js +built-ins/Array/prototype/findLast/callbackfn-resize-arraybuffer.js +built-ins/Array/prototype/findLast/name.js +built-ins/TypedArray/prototype/findLast/predicate-call-parameters.js +built-ins/TypedArray/prototype/findLast/return-abrupt-from-predicate-call.js +built-ins/TypedArray/prototype/findLast/this-is-not-object.js +built-ins/TypedArray/prototype/findLast/invoked-as-method.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-parameters.js +built-ins/TypedArray/prototype/findLast/BigInt/return-abrupt-from-predicate-call.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-changes-value.js +built-ins/TypedArray/prototype/findLast/BigInt/return-undefined-if-predicate-returns-false-value.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-may-detach-buffer.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-strict.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-not-called-on-empty-array.js +built-ins/TypedArray/prototype/findLast/BigInt/return-abrupt-from-this-out-of-bounds.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-is-not-callable-throws.js +built-ins/TypedArray/prototype/findLast/BigInt/detached-buffer.js +built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-non-strict.js +built-ins/TypedArray/prototype/findLast/BigInt/return-found-value-predicate-result-is-true.js +built-ins/TypedArray/prototype/findLast/BigInt/get-length-ignores-length-prop.js +built-ins/TypedArray/prototype/findLast/predicate-call-changes-value.js +built-ins/TypedArray/prototype/findLast/not-a-constructor.js +built-ins/TypedArray/prototype/findLast/return-undefined-if-predicate-returns-false-value.js +built-ins/TypedArray/prototype/findLast/predicate-may-detach-buffer.js +built-ins/TypedArray/prototype/findLast/length.js +built-ins/TypedArray/prototype/findLast/predicate-call-this-strict.js +built-ins/TypedArray/prototype/findLast/predicate-not-called-on-empty-array.js +built-ins/TypedArray/prototype/findLast/callbackfn-resize.js +built-ins/TypedArray/prototype/findLast/return-abrupt-from-this-out-of-bounds.js +built-ins/TypedArray/prototype/findLast/prop-desc.js +built-ins/TypedArray/prototype/findLast/predicate-is-not-callable-throws.js +built-ins/TypedArray/prototype/findLast/detached-buffer.js +built-ins/TypedArray/prototype/findLast/predicate-call-this-non-strict.js +built-ins/TypedArray/prototype/findLast/invoked-as-func.js +built-ins/TypedArray/prototype/findLast/return-found-value-predicate-result-is-true.js +built-ins/TypedArray/prototype/findLast/this-is-not-typedarray-instance.js +built-ins/TypedArray/prototype/findLast/name.js +built-ins/TypedArray/prototype/findLast/get-length-ignores-length-prop.js +built-ins/Array/prototype/findLastIndex/predicate-call-parameters.js +built-ins/Array/prototype/findLastIndex/return-abrupt-from-predicate-call.js +built-ins/Array/prototype/findLastIndex/maximum-index.js +built-ins/Array/prototype/findLastIndex/call-with-boolean.js +built-ins/Array/prototype/findLastIndex/not-a-constructor.js +built-ins/Array/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js +built-ins/Array/prototype/findLastIndex/length.js +built-ins/Array/prototype/findLastIndex/return-abrupt-from-property.js +built-ins/Array/prototype/findLastIndex/return-abrupt-from-this.js +built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length-as-symbol.js +built-ins/Array/prototype/findLastIndex/return-index-predicate-result-is-true.js +built-ins/Array/prototype/findLastIndex/predicate-call-this-strict.js +built-ins/Array/prototype/findLastIndex/predicate-not-called-on-empty-array.js +built-ins/Array/prototype/findLastIndex/prop-desc.js +built-ins/Array/prototype/findLastIndex/predicate-is-not-callable-throws.js +built-ins/Array/prototype/findLastIndex/predicate-call-this-non-strict.js +built-ins/Array/prototype/findLastIndex/predicate-called-for-each-array-property.js +built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length.js +built-ins/Array/prototype/findLastIndex/array-altered-during-loop.js +built-ins/Array/prototype/findLastIndex/callbackfn-resize-arraybuffer.js +built-ins/Array/prototype/findLastIndex/name.js +built-ins/TypedArray/prototype/findLastIndex/predicate-call-parameters.js +built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-predicate-call.js +built-ins/TypedArray/prototype/findLastIndex/this-is-not-object.js +built-ins/TypedArray/prototype/findLastIndex/invoked-as-method.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-parameters.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/return-abrupt-from-predicate-call.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-changes-value.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/return-negative-one-if-predicate-returns-false-value.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-may-detach-buffer.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/return-index-predicate-result-is-true.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-strict.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-not-called-on-empty-array.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/return-abrupt-from-this-out-of-bounds.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-is-not-callable-throws.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/detached-buffer.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-non-strict.js +built-ins/TypedArray/prototype/findLastIndex/BigInt/get-length-ignores-length-prop.js +built-ins/TypedArray/prototype/findLastIndex/predicate-call-changes-value.js +built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js +built-ins/TypedArray/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js +built-ins/TypedArray/prototype/findLastIndex/predicate-may-detach-buffer.js +built-ins/TypedArray/prototype/findLastIndex/length.js +built-ins/TypedArray/prototype/findLastIndex/return-index-predicate-result-is-true.js +built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-strict.js +built-ins/TypedArray/prototype/findLastIndex/predicate-not-called-on-empty-array.js +built-ins/TypedArray/prototype/findLastIndex/callbackfn-resize.js +built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-this-out-of-bounds.js +built-ins/TypedArray/prototype/findLastIndex/prop-desc.js +built-ins/TypedArray/prototype/findLastIndex/predicate-is-not-callable-throws.js +built-ins/TypedArray/prototype/findLastIndex/detached-buffer.js +built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-non-strict.js +built-ins/TypedArray/prototype/findLastIndex/invoked-as-func.js +built-ins/TypedArray/prototype/findLastIndex/this-is-not-typedarray-instance.js +built-ins/TypedArray/prototype/findLastIndex/name.js +built-ins/TypedArray/prototype/findLastIndex/get-length-ignores-length-prop.js +built-ins/Array/prototype/toReversed/length-decreased-while-iterating.js +built-ins/Array/prototype/toReversed/length-exceeding-array-length-limit.js +built-ins/Array/prototype/toReversed/length-casted-to-zero.js +built-ins/Array/prototype/toReversed/not-a-constructor.js +built-ins/Array/prototype/toReversed/this-value-nullish.js +built-ins/Array/prototype/toReversed/immutable.js +built-ins/Array/prototype/toReversed/zero-or-one-element.js +built-ins/Array/prototype/toReversed/ignores-species.js +built-ins/Array/prototype/toReversed/frozen-this-value.js +built-ins/Array/prototype/toReversed/get-descending-order.js +built-ins/Array/prototype/toReversed/this-value-boolean.js +built-ins/Array/prototype/toReversed/metadata/property-descriptor.js +built-ins/Array/prototype/toReversed/metadata/length.js +built-ins/Array/prototype/toReversed/metadata/name.js +built-ins/Array/prototype/toReversed/holes-not-preserved.js +built-ins/Array/prototype/toReversed/length-tolength.js +built-ins/Array/prototype/toReversed/length-increased-while-iterating.js +built-ins/TypedArray/prototype/toReversed/not-a-constructor.js +built-ins/TypedArray/prototype/toReversed/this-value-invalid.js +built-ins/TypedArray/prototype/toReversed/immutable.js +built-ins/TypedArray/prototype/toReversed/ignores-species.js +built-ins/TypedArray/prototype/toReversed/metadata/property-descriptor.js +built-ins/TypedArray/prototype/toReversed/metadata/length.js +built-ins/TypedArray/prototype/toReversed/metadata/name.js +built-ins/TypedArray/prototype/toReversed/length-property-ignored.js +built-ins/Array/prototype/toSorted/length-decreased-while-iterating.js +built-ins/Array/prototype/toSorted/length-exceeding-array-length-limit.js +built-ins/Array/prototype/toSorted/length-casted-to-zero.js +built-ins/Array/prototype/toSorted/not-a-constructor.js +built-ins/Array/prototype/toSorted/this-value-nullish.js +built-ins/Array/prototype/toSorted/immutable.js +built-ins/Array/prototype/toSorted/zero-or-one-element.js +built-ins/Array/prototype/toSorted/ignores-species.js +built-ins/Array/prototype/toSorted/frozen-this-value.js +built-ins/Array/prototype/toSorted/this-value-boolean.js +built-ins/Array/prototype/toSorted/metadata/property-descriptor.js +built-ins/Array/prototype/toSorted/metadata/length.js +built-ins/Array/prototype/toSorted/metadata/name.js +built-ins/Array/prototype/toSorted/comparefn-stop-after-error.js +built-ins/Array/prototype/toSorted/holes-not-preserved.js +built-ins/Array/prototype/toSorted/length-tolength.js +built-ins/Array/prototype/toSorted/comparefn-not-a-function.js +built-ins/Array/prototype/toSorted/comparefn-called-after-get-elements.js +built-ins/Array/prototype/toSorted/length-increased-while-iterating.js +built-ins/Array/prototype/with/length-decreased-while-iterating.js +built-ins/Array/prototype/with/length-exceeding-array-length-limit.js +built-ins/Array/prototype/with/index-negative.js +built-ins/Array/prototype/with/index-smaller-than-minus-length.js +built-ins/Array/prototype/with/not-a-constructor.js +built-ins/Array/prototype/with/this-value-nullish.js +built-ins/Array/prototype/with/no-get-replaced-index.js +built-ins/Array/prototype/with/index-bigger-or-eq-than-length.js +built-ins/Array/prototype/with/immutable.js +built-ins/Array/prototype/with/ignores-species.js +built-ins/Array/prototype/with/frozen-this-value.js +built-ins/Array/prototype/with/index-casted-to-number.js +built-ins/Array/prototype/with/this-value-boolean.js +built-ins/Array/prototype/with/metadata/property-descriptor.js +built-ins/Array/prototype/with/metadata/length.js +built-ins/Array/prototype/with/metadata/name.js +built-ins/Array/prototype/with/holes-not-preserved.js +built-ins/Array/prototype/with/length-tolength.js +built-ins/Array/prototype/with/length-increased-while-iterating.js +built-ins/TypedArray/prototype/with/BigInt/early-type-coercion-bigint.js +built-ins/TypedArray/prototype/with/index-negative.js +built-ins/TypedArray/prototype/with/index-smaller-than-minus-length.js +built-ins/TypedArray/prototype/with/not-a-constructor.js +built-ins/TypedArray/prototype/with/early-type-coercion.js +built-ins/TypedArray/prototype/with/index-bigger-or-eq-than-length.js +built-ins/TypedArray/prototype/with/this-value-invalid.js +built-ins/TypedArray/prototype/with/immutable.js +built-ins/TypedArray/prototype/with/ignores-species.js +built-ins/TypedArray/prototype/with/index-casted-to-number.js +built-ins/TypedArray/prototype/with/metadata/property-descriptor.js +built-ins/TypedArray/prototype/with/metadata/length.js +built-ins/TypedArray/prototype/with/metadata/name.js +built-ins/TypedArray/prototype/with/length-property-ignored.js +built-ins/Array/prototype/toSpliced/length-decreased-while-iterating.js +built-ins/Array/prototype/toSpliced/length-exceeding-array-length-limit.js +built-ins/Array/prototype/toSpliced/length-clamped-to-2pow53minus1.js +built-ins/Array/prototype/toSpliced/length-casted-to-zero.js +built-ins/Array/prototype/toSpliced/mutate-while-iterating.js +built-ins/Array/prototype/toSpliced/deleteCount-clamped-between-zero-and-remaining-count.js +built-ins/Array/prototype/toSpliced/deleteCount-missing.js +built-ins/Array/prototype/toSpliced/not-a-constructor.js +built-ins/Array/prototype/toSpliced/discarded-element-not-read.js +built-ins/Array/prototype/toSpliced/this-value-nullish.js +built-ins/Array/prototype/toSpliced/start-and-deleteCount-undefineds.js +built-ins/Array/prototype/toSpliced/immutable.js +built-ins/Array/prototype/toSpliced/start-neg-infinity-is-zero.js +built-ins/Array/prototype/toSpliced/ignores-species.js +built-ins/Array/prototype/toSpliced/frozen-this-value.js +built-ins/Array/prototype/toSpliced/unmodified.js +built-ins/Array/prototype/toSpliced/this-value-boolean.js +built-ins/Array/prototype/toSpliced/elements-read-in-order.js +built-ins/Array/prototype/toSpliced/metadata/property-descriptor.js +built-ins/Array/prototype/toSpliced/metadata/length.js +built-ins/Array/prototype/toSpliced/metadata/name.js +built-ins/Array/prototype/toSpliced/start-neg-less-than-minus-length-is-zero.js +built-ins/Array/prototype/toSpliced/holes-not-preserved.js +built-ins/Array/prototype/toSpliced/length-tolength.js +built-ins/Array/prototype/toSpliced/start-and-deleteCount-missing.js +built-ins/Array/prototype/toSpliced/length-increased-while-iterating.js +built-ins/Array/prototype/toSpliced/start-undefined-and-deleteCount-missing.js +built-ins/Array/prototype/toSpliced/start-neg-subtracted-from-length.js +built-ins/Array/prototype/toSpliced/start-bigger-than-length.js +built-ins/Array/prototype/toSpliced/deleteCount-undefined.js + + +built-ins/FinalizationRegistry/prototype/register/throws-when-target-cannot-be-held-weakly.js +built-ins/FinalizationRegistry/prototype/register/throws-when-unregisterToken-not-undefined-and-cannot-be-held-weakly.js +built-ins/FinalizationRegistry/prototype/unregister/throws-when-unregisterToken-cannot-be-held-weakly.js +built-ins/WeakMap/iterator-items-keys-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/delete/returns-false-if-key-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/get/returns-undefined-if-key-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/has/returns-false-when-key-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/set/throw-if-key-cannot-be-held-weakly.js +built-ins/WeakRef/throws-when-target-cannot-be-held-weakly.js +built-ins/WeakSet/prototype/add/throw-when-value-cannot-be-held-weakly.js +built-ins/WeakSet/prototype/delete/returns-false-when-value-cannot-be-held-weakly.js +built-ins/WeakSet/prototype/has/returns-false-when-value-cannot-be-held-weakly.js + +built-ins/FinalizationRegistry/prototype/register/heldValue-same-as-target.js +built-ins/FinalizationRegistry/prototype/register/return-undefined-register-symbol.js +built-ins/FinalizationRegistry/prototype/unregister/unregister-symbol-token.js +built-ins/WeakMap/iterable-with-symbol-keys.js +built-ins/WeakMap/prototype/delete/delete-entry-with-symbol-key-initial-iterable.js +built-ins/WeakMap/prototype/delete/delete-entry-with-symbol-key.js +built-ins/WeakMap/prototype/delete/returns-false-when-symbol-key-not-present.js +built-ins/WeakMap/prototype/get/returns-undefined-with-symbol-key.js +built-ins/WeakMap/prototype/get/returns-value-with-symbol-key.js +built-ins/WeakMap/prototype/has/returns-false-when-symbol-key-not-present.js +built-ins/WeakMap/prototype/has/returns-true-when-symbol-key-present.js +built-ins/WeakMap/prototype/set/adds-symbol-element.js +built-ins/WeakRef/prototype/deref/return-symbol-target.js +built-ins/WeakRef/returns-new-object-from-constructor-with-symbol-target.js +built-ins/WeakSet/iterable-with-symbol-values.js +built-ins/WeakSet/prototype/add/adds-symbol-element.js +built-ins/WeakSet/prototype/delete/delete-symbol-entry.js +built-ins/WeakSet/prototype/has/returns-false-when-symbol-value-not-present.js +built-ins/WeakSet/prototype/has/returns-true-when-symbol-value-present.js + +built-ins/FinalizationRegistry/prototype/register/heldValue-same-as-target.js +built-ins/FinalizationRegistry/prototype/register/return-undefined-register-symbol.js +built-ins/FinalizationRegistry/prototype/register/throws-when-target-cannot-be-held-weakly.js +built-ins/FinalizationRegistry/prototype/register/throws-when-unregisterToken-not-undefined-and-cannot-be-held-weakly.js +built-ins/FinalizationRegistry/prototype/unregister/throws-when-unregisterToken-cannot-be-held-weakly.js +built-ins/FinalizationRegistry/prototype/unregister/unregister-symbol-token.js +built-ins/WeakMap/iterable-with-symbol-keys.js +built-ins/WeakMap/iterator-items-keys-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/delete/delete-entry-with-symbol-key-initial-iterable.js +built-ins/WeakMap/prototype/delete/delete-entry-with-symbol-key.js +built-ins/WeakMap/prototype/delete/returns-false-if-key-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/delete/returns-false-when-symbol-key-not-present.js +built-ins/WeakMap/prototype/get/returns-undefined-if-key-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/get/returns-undefined-with-symbol-key.js +built-ins/WeakMap/prototype/get/returns-value-with-symbol-key.js +built-ins/WeakMap/prototype/has/returns-false-when-key-cannot-be-held-weakly.js +built-ins/WeakMap/prototype/has/returns-false-when-symbol-key-not-present.js +built-ins/WeakMap/prototype/has/returns-true-when-symbol-key-present.js +built-ins/WeakMap/prototype/set/adds-symbol-element.js +built-ins/WeakMap/prototype/set/throw-if-key-cannot-be-held-weakly.js +built-ins/WeakRef/prototype/deref/return-symbol-target.js +built-ins/WeakRef/returns-new-object-from-constructor-with-symbol-target.js +built-ins/WeakRef/throws-when-target-cannot-be-held-weakly.js +built-ins/WeakSet/iterable-with-symbol-values.js +built-ins/WeakSet/prototype/add/adds-symbol-element.js +built-ins/WeakSet/prototype/add/throw-when-value-cannot-be-held-weakly.js +built-ins/WeakSet/prototype/delete/delete-symbol-entry.js +built-ins/WeakSet/prototype/delete/returns-false-when-value-cannot-be-held-weakly.js +built-ins/WeakSet/prototype/has/returns-false-when-symbol-value-not-present.js +built-ins/WeakSet/prototype/has/returns-true-when-symbol-value-present.js +built-ins/WeakSet/prototype/has/returns-false-when-value-cannot-be-held-weakly.js + diff --git a/test262/es2abc_skip_tests.json b/test262/es2abc_skip_tests.json index 0b23ca0bd8..6d442d17cf 100644 --- a/test262/es2abc_skip_tests.json +++ b/test262/es2abc_skip_tests.json @@ -148,7 +148,9 @@ "built-ins/RegExp/match-indices/indices-array-unicode-property-names.js", "built-ins/RegExp/match-indices/indices-array-non-unicode-match.js", "built-ins/RegExp/match-indices/indices-array-unicode-match.js", - "built-ins/JSON/stringify/value-string-escape-unicode.js" + "built-ins/JSON/stringify/value-string-escape-unicode.js", + "built-ins/RegExp/prototype/Symbol.match/get-unicode-error.js", + "built-ins/RegExp/prototype/Symbol.replace/get-unicode-error.js" ] }, { diff --git a/test262/intl_skip_tests.json b/test262/intl_skip_tests.json index 92c12c21fc..0aca2cfe5f 100644 --- a/test262/intl_skip_tests.json +++ b/test262/intl_skip_tests.json @@ -14,7 +14,10 @@ "intl402/PluralRules/proto-from-ctor-realm.js", "intl402/DisplayNames/ctor-custom-get-prototype-poison-throws.js", "intl402/DisplayNames/ctor-custom-prototype.js", - "intl402/Segmenter/ctor-custom-prototype.js" + "intl402/Segmenter/ctor-custom-prototype.js", + "intl402/DisplayNames/prototype/resolvedOptions/return-object.js", + "intl402/NumberFormat/prototype/resolvedOptions/basic.js", + "intl402/NumberFormat/test-option-useGrouping.js" ] }, { @@ -27,6 +30,7 @@ "intl402/DateTimeFormat/prototype/format/timedatestyle-en.js", "intl402/NumberFormat/prototype/formatToParts/main.js", "intl402/NumberFormat/currency-digits.js", + "intl402/NumberFormat/prototype/format/numbering-systems.js", "intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-yes-to-true.js", "intl402/Intl/getCanonicalLocales/canonicalized-tags.js" ] diff --git a/test262/skip_tests.json b/test262/skip_tests.json index c207380c32..dc7fd448b3 100644 --- a/test262/skip_tests.json +++ b/test262/skip_tests.json @@ -656,6 +656,13 @@ "built-ins/Set/proto-from-ctor-realm.js", "built-ins/String/proto-from-ctor-realm.js", "built-ins/Array/prototype/includes/from/proto-from-ctor-realm.js", + "built-ins/Array/prototype/findLast/callbackfn-resize-arraybuffer.js", + "built-ins/Array/prototype/findLastIndex/callbackfn-resize-arraybuffer.js", + "built-ins/TypedArray/prototype/findLast/callbackfn-resize.js", + "built-ins/TypedArray/prototype/findLastIndex/callbackfn-resize.js", + "built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-this-out-of-bounds.js", + "built-ins/TypedArray/prototype/findLast/BigInt/return-abrupt-from-this-out-of-bounds.js", + "built-ins/TypedArray/prototype/findLastIndex/BigInt/return-abrupt-from-this-out-of-bounds.js", "built-ins/Array/from/proto-from-ctor-realm.js", "built-ins/Array/proto-from-ctor-realm-one.js", "built-ins/Array/proto-from-ctor-realm-two.js", @@ -906,6 +913,15 @@ "built-ins/TypedArray/prototype/reduce/callbackfn-detachbuffer.js", "built-ins/TypedArray/prototype/reduceRight/callbackfn-detachbuffer.js", "built-ins/TypedArray/prototype/some/callbackfn-detachbuffer.js", + "built-ins/TypedArray/prototype/findLast/predicate-may-detach-buffer.js", + "built-ins/TypedArray/prototype/findLast/return-abrupt-from-this-out-of-bounds.js", + "built-ins/TypedArray/prototype/findLastIndex/predicate-may-detach-buffer.js", + "built-ins/TypedArray/prototype/findLastIndex/detached-buffer.js", + "built-ins/TypedArray/prototype/toReversed/this-value-invalid.js", + "built-ins/TypedArray/prototype/findLast/BigInt/detached-buffer.js", + "built-ins/TypedArray/prototype/findLast/BigInt/predicate-may-detach-buffer.js", + "built-ins/TypedArray/prototype/findLastIndex/BigInt/detached-buffer.js", + "built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-may-detach-buffer.js", "built-ins/TypedArrayConstructors/ctors/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size-sab.js", "built-ins/TypedArrayConstructors/ctors/buffer-arg/byteoffset-is-negative-throws-sab.js", "built-ins/TypedArrayConstructors/ctors/buffer-arg/byteoffset-is-negative-zero-sab.js", @@ -1033,7 +1049,8 @@ "built-ins/DataView/prototype/setBigInt64/detached-buffer-after-toindex-byteoffset.js", "built-ins/DataView/prototype/setBigInt64/detached-buffer-before-outofrange-byteoffset.js", "built-ins/DataView/prototype/setBigInt64/detached-buffer.js", - "built-ins/DataView/prototype/setBigInt64/detached-buffer-after-bigint-value.js" + "built-ins/DataView/prototype/setBigInt64/detached-buffer-after-bigint-value.js", + "built-ins/TypedArray/prototype/findLast/detached-buffer.js" ] }, { @@ -1598,7 +1615,8 @@ "language/expressions/optional-chaining/iteration-statement-for-await-of.js", "language/expressions/async-generator/named-yield-star-next-then-returns-abrupt.js", "language/expressions/async-generator/yield-star-next-then-returns-abrupt.js", - "language/statements/async-generator/yield-star-next-then-returns-abrupt.js" + "language/statements/async-generator/yield-star-next-then-returns-abrupt.js", + "language/statements/async-generator/yield-star-return-then-getter-ticks.js" ] } ] -- Gitee From c28a7365fbda380bdc89a293fce818fb766dc7b0 Mon Sep 17 00:00:00 2001 From: "zha.wei" Date: Wed, 16 Aug 2023 14:34:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?description:=E4=BF=AE=E6=94=B9=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0TypedArray=20toSorted=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zha.wei --- test262/config.py | 2 +- test262/es2023_tests.txt | 29 +++++++++++++++++++++-------- test262/skip_tests.json | 7 +++++-- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/test262/config.py b/test262/config.py index a27366e76c..44501352a0 100755 --- a/test262/config.py +++ b/test262/config.py @@ -83,7 +83,7 @@ with open(os.path.join("test262", "module_tests.txt")) as m_file: with open(os.path.join("test262", "dynamicImport_tests.txt")) as d_file: DYNAMIC_IMPORT_LIST = d_file.read().splitlines() -TEST262_GIT_HASH = "6291e42a727aa8269fb649919de3c59dad365aaf" +TEST262_GIT_HASH = "6f4601d095a3899d6102f2c320b671495cbe8757" HARNESS_GIT_HASH = "9c499f028eb24e67781435c0bb442e00343eb39d" ESHOST_GIT_HASH = "fa2d4d27d9d6152002bdef36ee2d17e98b886268" ESNEXT_GIT_HASH = "281eb10b2844929a7c0ac04527f5b42ce56509fd" diff --git a/test262/es2023_tests.txt b/test262/es2023_tests.txt index 2dd9b369b3..1ff2acb3fb 100644 --- a/test262/es2023_tests.txt +++ b/test262/es2023_tests.txt @@ -1,6 +1,5 @@ built-ins/Array/prototype/findLast/predicate-call-parameters.js built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js -built-ins/Array/prototype/findLast/maximum-index.js built-ins/Array/prototype/findLast/call-with-boolean.js built-ins/Array/prototype/findLast/not-a-constructor.js built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js @@ -17,8 +16,8 @@ built-ins/Array/prototype/findLast/predicate-called-for-each-array-property.js built-ins/Array/prototype/findLast/return-found-value-predicate-result-is-true.js built-ins/Array/prototype/findLast/return-abrupt-from-this-length.js built-ins/Array/prototype/findLast/array-altered-during-loop.js -built-ins/Array/prototype/findLast/callbackfn-resize-arraybuffer.js built-ins/Array/prototype/findLast/name.js + built-ins/TypedArray/prototype/findLast/predicate-call-parameters.js built-ins/TypedArray/prototype/findLast/return-abrupt-from-predicate-call.js built-ins/TypedArray/prototype/findLast/this-is-not-object.js @@ -54,9 +53,9 @@ built-ins/TypedArray/prototype/findLast/return-found-value-predicate-result-is-t built-ins/TypedArray/prototype/findLast/this-is-not-typedarray-instance.js built-ins/TypedArray/prototype/findLast/name.js built-ins/TypedArray/prototype/findLast/get-length-ignores-length-prop.js + built-ins/Array/prototype/findLastIndex/predicate-call-parameters.js built-ins/Array/prototype/findLastIndex/return-abrupt-from-predicate-call.js -built-ins/Array/prototype/findLastIndex/maximum-index.js built-ins/Array/prototype/findLastIndex/call-with-boolean.js built-ins/Array/prototype/findLastIndex/not-a-constructor.js built-ins/Array/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js @@ -73,8 +72,8 @@ built-ins/Array/prototype/findLastIndex/predicate-call-this-non-strict.js built-ins/Array/prototype/findLastIndex/predicate-called-for-each-array-property.js built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length.js built-ins/Array/prototype/findLastIndex/array-altered-during-loop.js -built-ins/Array/prototype/findLastIndex/callbackfn-resize-arraybuffer.js built-ins/Array/prototype/findLastIndex/name.js + built-ins/TypedArray/prototype/findLastIndex/predicate-call-parameters.js built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-predicate-call.js built-ins/TypedArray/prototype/findLastIndex/this-is-not-object.js @@ -110,6 +109,7 @@ built-ins/TypedArray/prototype/findLastIndex/invoked-as-func.js built-ins/TypedArray/prototype/findLastIndex/this-is-not-typedarray-instance.js built-ins/TypedArray/prototype/findLastIndex/name.js built-ins/TypedArray/prototype/findLastIndex/get-length-ignores-length-prop.js + built-ins/Array/prototype/toReversed/length-decreased-while-iterating.js built-ins/Array/prototype/toReversed/length-exceeding-array-length-limit.js built-ins/Array/prototype/toReversed/length-casted-to-zero.js @@ -127,14 +127,15 @@ built-ins/Array/prototype/toReversed/metadata/name.js built-ins/Array/prototype/toReversed/holes-not-preserved.js built-ins/Array/prototype/toReversed/length-tolength.js built-ins/Array/prototype/toReversed/length-increased-while-iterating.js + built-ins/TypedArray/prototype/toReversed/not-a-constructor.js -built-ins/TypedArray/prototype/toReversed/this-value-invalid.js built-ins/TypedArray/prototype/toReversed/immutable.js built-ins/TypedArray/prototype/toReversed/ignores-species.js built-ins/TypedArray/prototype/toReversed/metadata/property-descriptor.js built-ins/TypedArray/prototype/toReversed/metadata/length.js built-ins/TypedArray/prototype/toReversed/metadata/name.js built-ins/TypedArray/prototype/toReversed/length-property-ignored.js + built-ins/Array/prototype/toSorted/length-decreased-while-iterating.js built-ins/Array/prototype/toSorted/length-exceeding-array-length-limit.js built-ins/Array/prototype/toSorted/length-casted-to-zero.js @@ -154,6 +155,7 @@ built-ins/Array/prototype/toSorted/length-tolength.js built-ins/Array/prototype/toSorted/comparefn-not-a-function.js built-ins/Array/prototype/toSorted/comparefn-called-after-get-elements.js built-ins/Array/prototype/toSorted/length-increased-while-iterating.js + built-ins/Array/prototype/with/length-decreased-while-iterating.js built-ins/Array/prototype/with/length-exceeding-array-length-limit.js built-ins/Array/prototype/with/index-negative.js @@ -173,6 +175,18 @@ built-ins/Array/prototype/with/metadata/name.js built-ins/Array/prototype/with/holes-not-preserved.js built-ins/Array/prototype/with/length-tolength.js built-ins/Array/prototype/with/length-increased-while-iterating.js + +built-ins/TypedArray/prototype/toSorted/not-a-constructor.js +built-ins/TypedArray/prototype/toSorted/this-value-invalid.js +built-ins/TypedArray/prototype/toSorted/immutable.js +built-ins/TypedArray/prototype/toSorted/ignores-species.js +built-ins/TypedArray/prototype/toSorted/metadata/property-descriptor.js +built-ins/TypedArray/prototype/toSorted/metadata/length.js +built-ins/TypedArray/prototype/toSorted/metadata/name.js +built-ins/TypedArray/prototype/toSorted/comparefn-stop-after-error.js +built-ins/TypedArray/prototype/toSorted/comparefn-not-a-function.js +built-ins/TypedArray/prototype/toSorted/length-property-ignored.js + built-ins/TypedArray/prototype/with/BigInt/early-type-coercion-bigint.js built-ins/TypedArray/prototype/with/index-negative.js built-ins/TypedArray/prototype/with/index-smaller-than-minus-length.js @@ -187,6 +201,7 @@ built-ins/TypedArray/prototype/with/metadata/property-descriptor.js built-ins/TypedArray/prototype/with/metadata/length.js built-ins/TypedArray/prototype/with/metadata/name.js built-ins/TypedArray/prototype/with/length-property-ignored.js + built-ins/Array/prototype/toSpliced/length-decreased-while-iterating.js built-ins/Array/prototype/toSpliced/length-exceeding-array-length-limit.js built-ins/Array/prototype/toSpliced/length-clamped-to-2pow53minus1.js @@ -218,7 +233,6 @@ built-ins/Array/prototype/toSpliced/start-neg-subtracted-from-length.js built-ins/Array/prototype/toSpliced/start-bigger-than-length.js built-ins/Array/prototype/toSpliced/deleteCount-undefined.js - built-ins/FinalizationRegistry/prototype/register/throws-when-target-cannot-be-held-weakly.js built-ins/FinalizationRegistry/prototype/register/throws-when-unregisterToken-not-undefined-and-cannot-be-held-weakly.js built-ins/FinalizationRegistry/prototype/unregister/throws-when-unregisterToken-cannot-be-held-weakly.js @@ -282,5 +296,4 @@ built-ins/WeakSet/prototype/delete/delete-symbol-entry.js built-ins/WeakSet/prototype/delete/returns-false-when-value-cannot-be-held-weakly.js built-ins/WeakSet/prototype/has/returns-false-when-symbol-value-not-present.js built-ins/WeakSet/prototype/has/returns-true-when-symbol-value-present.js -built-ins/WeakSet/prototype/has/returns-false-when-value-cannot-be-held-weakly.js - +built-ins/WeakSet/prototype/has/returns-false-when-value-cannot-be-held-weakly.js \ No newline at end of file diff --git a/test262/skip_tests.json b/test262/skip_tests.json index dc7fd448b3..e5480eab9c 100644 --- a/test262/skip_tests.json +++ b/test262/skip_tests.json @@ -649,6 +649,7 @@ "built-ins/NativeErrors/RangeError/proto-from-ctor-realm.js", "built-ins/NativeErrors/SyntaxError/proto-from-ctor-realm.js", "built-ins/WeakSet/proto-from-ctor-realm.js", + "built-ins/WeakSet/iterable-with-symbol-values.js", "built-ins/GeneratorFunction/proto-from-ctor-realm.js", "built-ins/GeneratorFunction/proto-from-ctor-realm-prototype.js", "built-ins/Function/prototype/bind/proto-from-ctor-realm.js", @@ -658,6 +659,7 @@ "built-ins/Array/prototype/includes/from/proto-from-ctor-realm.js", "built-ins/Array/prototype/findLast/callbackfn-resize-arraybuffer.js", "built-ins/Array/prototype/findLastIndex/callbackfn-resize-arraybuffer.js", + "built-ins/Array/prototype/toSpliced/mutate-while-iterating.js", "built-ins/TypedArray/prototype/findLast/callbackfn-resize.js", "built-ins/TypedArray/prototype/findLastIndex/callbackfn-resize.js", "built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-this-out-of-bounds.js", @@ -1040,6 +1042,8 @@ "built-ins/TypedArray/prototype/fill/coerced-value-detach.js", "built-ins/TypedArray/prototype/find/predicate-may-detach-buffer.js", "built-ins/TypedArray/prototype/findIndex/predicate-may-detach-buffer.js", + "built-ins/TypedArray/prototype/toSorted/this-value-invalid.js", + "built-ins/TypedArray/prototype/findLast/detached-buffer.js", "built-ins/DataView/prototype/getBigUint64/detached-buffer-after-toindex-byteoffset.js", "built-ins/DataView/prototype/getBigUint64/detached-buffer-before-outofrange-byteoffset.js", "built-ins/DataView/prototype/getBigUint64/detached-buffer.js", @@ -1049,8 +1053,7 @@ "built-ins/DataView/prototype/setBigInt64/detached-buffer-after-toindex-byteoffset.js", "built-ins/DataView/prototype/setBigInt64/detached-buffer-before-outofrange-byteoffset.js", "built-ins/DataView/prototype/setBigInt64/detached-buffer.js", - "built-ins/DataView/prototype/setBigInt64/detached-buffer-after-bigint-value.js", - "built-ins/TypedArray/prototype/findLast/detached-buffer.js" + "built-ins/DataView/prototype/setBigInt64/detached-buffer-after-bigint-value.js" ] }, { -- Gitee