From fb908fd87e1bf8a5ebe2c881c0baab1488c917e7 Mon Sep 17 00:00:00 2001 From: Babel Bot Date: Fri, 23 Apr 2021 10:40:54 +0200 Subject: [PATCH] Update test262 (#13196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update test262 to eca69e2c95972a4c5780ef58fe1f1e53e871b9b1 * test262: add mapping for privateIn * test262: ignored syntax-free features Co-authored-by: Huáng Jùnliàng --- Makefile | 2 +- scripts/parser-tests/test262/allowlist.txt | 1 - scripts/parser-tests/test262/index.js | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9577548f21..ac6a13bb89 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ FLOW_COMMIT = a1f9a4c709dcebb27a5084acf47755fbae699c25 -TEST262_COMMIT = 6888a8df829d416b93cb7057aa860261aa05cf08 +TEST262_COMMIT = eca69e2c95972a4c5780ef58fe1f1e53e871b9b1 TYPESCRIPT_COMMIT = da8633212023517630de5f3620a23736b63234b1 # Fix color output until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967 diff --git a/scripts/parser-tests/test262/allowlist.txt b/scripts/parser-tests/test262/allowlist.txt index 8b13789179..e69de29bb2 100644 --- a/scripts/parser-tests/test262/allowlist.txt +++ b/scripts/parser-tests/test262/allowlist.txt @@ -1 +0,0 @@ - diff --git a/scripts/parser-tests/test262/index.js b/scripts/parser-tests/test262/index.js index 3c4d1856ad..0ea024a0f8 100644 --- a/scripts/parser-tests/test262/index.js +++ b/scripts/parser-tests/test262/index.js @@ -9,6 +9,7 @@ const ignoredFeatures = [ "__getter__", "__setter__", "AggregateError", + "Array.prototype.at", "Array.prototype.flat", "Array.prototype.flatMap", "Array.prototype.item", @@ -68,6 +69,7 @@ const ignoredFeatures = [ "Intl.Segmenter", "IsHTMLDDA", "import.meta", + "intl-normative-optional", "json-superset", "legacy-regexp", "let", @@ -99,6 +101,7 @@ const ignoredFeatures = [ "SharedArrayBuffer", "Set", "String.fromCodePoint", + "String.prototype.at", "String.prototype.endsWith", "String.prototype.includes", "String.prototype.item", @@ -126,6 +129,7 @@ const ignoredFeatures = [ "tail-call-optimization", "template", "TypedArray", + "TypedArray.prototype.at", "TypedArray.prototype.item", "u180e", "Uint8Array", @@ -143,6 +147,7 @@ const ignoredTests = ["built-ins/RegExp/", "language/literals/regexp/"]; const featuresToPlugins = { "arbitrary-module-namespace-names": "moduleStringNames", "class-fields-private": "classPrivateProperties", + "class-fields-private-in": "privateIn", "class-fields-public": "classProperties", "class-methods-private": "classPrivateMethods", "class-static-fields-public": "classProperties",