diff --git a/Makefile b/Makefile index 0405f43ec73e..709f7c0f2499 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ FLOW_COMMIT = a1f9a4c709dcebb27a5084acf47755fbae699c25 -TEST262_COMMIT = 058adfed86b1d4129996faaf50a85ea55379a66a +TEST262_COMMIT = d9740c172652d36194ceae3ed3d0484e9968ebc3 TYPESCRIPT_COMMIT = da8633212023517630de5f3620a23736b63234b1 FORCE_PUBLISH = -f @babel/runtime -f @babel/runtime-corejs2 -f @babel/runtime-corejs3 -f @babel/standalone diff --git a/scripts/parser-tests/test262/allowlist.txt b/scripts/parser-tests/test262/allowlist.txt index 8b137891791f..3c33900a5dd8 100644 --- a/scripts/parser-tests/test262/allowlist.txt +++ b/scripts/parser-tests/test262/allowlist.txt @@ -1 +1,4 @@ - +language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-await-expression.js(default) +language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-await-expression.js(strict mode) +language/statements/class/cpn-class-decl-fields-methods-computed-property-name-from-await-expression.js(default) +language/statements/class/cpn-class-decl-fields-methods-computed-property-name-from-await-expression.js(strict mode) diff --git a/scripts/parser-tests/test262/index.js b/scripts/parser-tests/test262/index.js index 43740820150a..9fe8141b9e78 100644 --- a/scripts/parser-tests/test262/index.js +++ b/scripts/parser-tests/test262/index.js @@ -3,17 +3,25 @@ const TestStream = require("test262-stream"); const TestRunner = require("../utils/parser-test-runner"); const ignoredFeatures = [ + "__getter__", + "__setter__", "AggregateError", "Array.prototype.flat", "Array.prototype.flatMap", + "Array.prototype.item", "Array.prototype.values", "ArrayBuffer", + "align-detached-buffer-semantics-with-web-reality", "async-functions", "async-iteration", "arrow-function", "Atomics", + "Atomics.waitAsync", + "BigInt", "caller", "class", + "cleanupSome", + "coalesce-expression", "computed-property-names", "const", "cross-realm", @@ -29,7 +37,11 @@ const ignoredFeatures = [ "default-parameters", "destructuring-assignment", "destructuring-binding", + "dynamic-import", + "export-star-as-namespace-from-module", "FinalizationGroup", + "FinalizationRegistry", + "FinalizationRegistry.prototype.cleanupSome", "Float32Array", "Float64Array", "for-in-order", @@ -39,6 +51,7 @@ const ignoredFeatures = [ "hashbang", "host-gc-required", "Int8Array", + "Int16Array", "Int32Array", "Intl.DateTimeFormat-datetimestyle", "Intl.DateTimeFormat-dayPeriod", @@ -51,16 +64,23 @@ const ignoredFeatures = [ "Intl.RelativeTimeFormat", "Intl.Segmenter", "IsHTMLDDA", + "import.meta", "json-superset", + "legacy-regexp", "let", + "logical-assignment-operators", "Map", "new.target", + "numeric-separator-literal", "Object.fromEntries", "Object.is", "object-rest", "object-spread", "optional-catch-binding", + "optional-chaining", + "Promise", "Promise.allSettled", + "Promise.any", "Promise.prototype.finally", "Proxy", "proxy-missing-checks", @@ -78,6 +98,7 @@ const ignoredFeatures = [ "String.fromCodePoint", "String.prototype.endsWith", "String.prototype.includes", + "String.prototype.item", "String.prototype.matchAll", "String.prototype.replaceAll", "String.prototype.trimEnd", @@ -102,10 +123,12 @@ const ignoredFeatures = [ "tail-call-optimization", "template", "TypedArray", + "TypedArray.prototype.item", "u180e", "Uint8Array", "Uint8ClampedArray", "Uint16Array", + "Uint32Array", "WeakMap", "WeakSet", "WeakRef", @@ -115,20 +138,13 @@ const ignoredFeatures = [ const ignoredTests = ["built-ins/RegExp/", "language/literals/regexp/"]; const featuresToPlugins = { - BigInt: "bigInt", + "arbitrary-module-namespace-names": "moduleStringNames", "class-fields-private": "classPrivateProperties", "class-fields-public": "classProperties", "class-methods-private": "classPrivateMethods", "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", - "logical-assignment-operators": "logicalAssignment", - "numeric-separator-literal": "numericSeparator", - "optional-chaining": "optionalChaining", "top-level-await": "topLevelAwait", };