diff --git a/Makefile b/Makefile index acd9ed6df669..f7806f3af7b8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ FLOW_COMMIT = 09669846b7a7ca5a6c23c12d56bb3bebdafd67e9 -TEST262_COMMIT = 8688c4ab79059c3097098605e69f1ee5eda6c409 +TEST262_COMMIT = 157b18d16b5d52501c4d75ac422d3a80bfad1c17 TYPESCRIPT_COMMIT = 038d95144d8b93c2799d1732181c89c3d84362d5 FORCE_PUBLISH = "@babel/runtime,@babel/runtime-corejs2,@babel/runtime-corejs3,@babel/standalone,@babel/preset-env-standalone" @@ -189,7 +189,7 @@ test-typescript-update-whitelist: bootstrap-test262: rm -rf build/test262 mkdir -p build - git clone --branch=master --single-branch --shallow-since=2019-09-01 https://github.com/tc39/test262.git build/test262 + git clone --branch=master --single-branch --shallow-since=2019-12-01 https://github.com/tc39/test262.git build/test262 cd build/test262 && git checkout $(TEST262_COMMIT) test-test262: diff --git a/scripts/parser-tests/test262/index.js b/scripts/parser-tests/test262/index.js index 0fd8eb229c42..e2f8b08fcae0 100644 --- a/scripts/parser-tests/test262/index.js +++ b/scripts/parser-tests/test262/index.js @@ -3,6 +3,7 @@ const TestStream = require("test262-stream"); const TestRunner = require("../utils/parser-test-runner"); const ignoredFeatures = [ + "AggregateError", "Array.prototype.flat", "Array.prototype.flatMap", "Array.prototype.values", @@ -31,6 +32,7 @@ const ignoredFeatures = [ "FinalizationGroup", "Float32Array", "Float64Array", + "for-in-order", "for-of", "generators", "globalThis", @@ -42,6 +44,7 @@ const ignoredFeatures = [ "Intl.DateTimeFormat-dayPeriod", "Intl.DateTimeFormat-fractionalSecondDigits", "Intl.DateTimeFormat-formatRange", + "Intl.DisplayNames", "Intl.ListFormat", "Intl.Locale", "Intl.NumberFormat-unified", @@ -76,6 +79,7 @@ const ignoredFeatures = [ "String.prototype.endsWith", "String.prototype.includes", "String.prototype.matchAll", + "String.prototype.replaceAll", "String.prototype.trimEnd", "String.prototype.trimStart", "string-trimming", @@ -118,6 +122,7 @@ const featuresToPlugins = { "class-static-fields-public": "classProperties", "class-static-fields-private": "classPrivateProperties", "class-static-methods-private": "classPrivateMethods", + "coalesce-expression": "nullishCoalescingOperator", "dynamic-import": "dynamicImport", "export-star-as-namespace-from-module": "exportNamespaceFrom", "import.meta": "importMeta",