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