chore: update test262 tests (#12204)
This commit is contained in:
@@ -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 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",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user