Test262 update (#9288)
This commit is contained in:
parent
b211b810d1
commit
a55382e4ad
4
Makefile
4
Makefile
@ -1,6 +1,6 @@
|
|||||||
MAKEFLAGS = -j1
|
MAKEFLAGS = -j1
|
||||||
FLOW_COMMIT = e192e1a4793dd8e43415fbfe8046d832cb513c8b
|
FLOW_COMMIT = 2ac56861e3ceff9ca406ae586fbafb3480c6c0b7
|
||||||
TEST262_COMMIT = 238c88d4a084d9928372954e2fec54af2c951281
|
TEST262_COMMIT = f77b930e6720f8005d5302acaedd434e13bf2fe2
|
||||||
|
|
||||||
# Fix color output until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
|
# Fix color output until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
|
||||||
export FORCE_COLOR = true
|
export FORCE_COLOR = true
|
||||||
|
|||||||
@ -13,96 +13,98 @@ const pfs = {
|
|||||||
const parse = require("../../../packages/babel-parser").parse;
|
const parse = require("../../../packages/babel-parser").parse;
|
||||||
|
|
||||||
const ignoredFeatures = [
|
const ignoredFeatures = [
|
||||||
|
"Array.prototype.flat",
|
||||||
|
"Array.prototype.flatMap",
|
||||||
|
"Array.prototype.values",
|
||||||
|
"ArrayBuffer",
|
||||||
"async-functions",
|
"async-functions",
|
||||||
"async-iteration",
|
"async-iteration",
|
||||||
"arrow-function",
|
"arrow-function",
|
||||||
"class",
|
|
||||||
"const",
|
|
||||||
"destructuring-assignment",
|
|
||||||
"for-of",
|
|
||||||
"generators",
|
|
||||||
"let",
|
|
||||||
"template",
|
|
||||||
"Reflect.construct",
|
|
||||||
"Symbol",
|
|
||||||
"TypedArray",
|
|
||||||
"cross-realm",
|
|
||||||
"Reflect",
|
|
||||||
"DataView",
|
|
||||||
"ArrayBuffer",
|
|
||||||
"Symbol.toStringTag",
|
|
||||||
"Atomics",
|
"Atomics",
|
||||||
"SharedArrayBuffer",
|
|
||||||
"Int8Array",
|
|
||||||
"Symbol.toPrimitive",
|
|
||||||
"caller",
|
"caller",
|
||||||
"Symbol.iterator",
|
"class",
|
||||||
"u180e",
|
"computed-property-names",
|
||||||
"Proxy",
|
"const",
|
||||||
"Symbol.match",
|
"cross-realm",
|
||||||
"regexp-dotall",
|
"DataView",
|
||||||
"Symbol.matchAll",
|
"DataView.prototype.getFloat32",
|
||||||
"Set",
|
"DataView.prototype.getFloat64",
|
||||||
"WeakSet",
|
"DataView.prototype.getInt8",
|
||||||
"globalThis",
|
"DataView.prototype.getInt16",
|
||||||
"Intl.Locale",
|
"DataView.prototype.getInt32",
|
||||||
"tail-call-optimization",
|
"DataView.prototype.getUint16",
|
||||||
|
"DataView.prototype.getUint32",
|
||||||
|
"DataView.prototype.setUint8",
|
||||||
"default-parameters",
|
"default-parameters",
|
||||||
"new.target",
|
"destructuring-assignment",
|
||||||
"super",
|
"destructuring-binding",
|
||||||
"Symbol.unscopables",
|
|
||||||
"Symbol.species",
|
|
||||||
"Symbol.asyncIterator",
|
|
||||||
"Float32Array",
|
"Float32Array",
|
||||||
"Float64Array",
|
"Float64Array",
|
||||||
"Uint16Array",
|
"for-of",
|
||||||
"Uint8Array",
|
"generators",
|
||||||
"Uint8ClampedArray",
|
"globalThis",
|
||||||
"computed-property-names",
|
"Int8Array",
|
||||||
"well-formed-json-stringify",
|
"Int32Array",
|
||||||
"object-spread",
|
"Intl.ListFormat",
|
||||||
"object-rest",
|
"Intl.Locale",
|
||||||
"optional-catch-binding",
|
"Intl.NumberFormat-unified",
|
||||||
|
"Intl.RelativeTimeFormat",
|
||||||
|
"Intl.Segmenter",
|
||||||
|
"IsHTMLDDA",
|
||||||
|
"json-superset",
|
||||||
|
"let",
|
||||||
|
"Map",
|
||||||
|
"new.target",
|
||||||
"Object.fromEntries",
|
"Object.fromEntries",
|
||||||
"Object.is",
|
"Object.is",
|
||||||
"Reflect.setPrototypeOf",
|
"object-rest",
|
||||||
|
"object-spread",
|
||||||
|
"optional-catch-binding",
|
||||||
|
"Promise.prototype.finally",
|
||||||
|
"Proxy",
|
||||||
|
"Reflect",
|
||||||
|
"Reflect.construct",
|
||||||
"Reflect.set",
|
"Reflect.set",
|
||||||
"String.fromCodePoint",
|
"Reflect.setPrototypeOf",
|
||||||
|
"regexp-dotall",
|
||||||
"regexp-lookbehind",
|
"regexp-lookbehind",
|
||||||
"regexp-named-groups",
|
"regexp-named-groups",
|
||||||
"regexp-unicode-property-escapes",
|
"regexp-unicode-property-escapes",
|
||||||
"Symbol.hasInstance",
|
"SharedArrayBuffer",
|
||||||
"Symbol.isConcatSpreadable",
|
"Set",
|
||||||
"Symbol.replace",
|
"String.fromCodePoint",
|
||||||
"Symbol.search",
|
|
||||||
"Symbol.split",
|
|
||||||
"Array.prototype.values",
|
|
||||||
"Intl.ListFormat",
|
|
||||||
"Intl.RelativeTimeFormat",
|
|
||||||
"Intl.Segmenter",
|
|
||||||
"destructuring-binding",
|
|
||||||
"json-superset",
|
|
||||||
"Map",
|
|
||||||
"IsHTMLDDA",
|
|
||||||
"Array.prototype.flat",
|
|
||||||
"Array.prototype.flatMap",
|
|
||||||
"DataView.prototype.setUint8",
|
|
||||||
"DataView.prototype.getFloat32",
|
|
||||||
"DataView.prototype.getFloat64",
|
|
||||||
"DataView.prototype.getInt16",
|
|
||||||
"DataView.prototype.getInt32",
|
|
||||||
"DataView.prototype.getInt8",
|
|
||||||
"DataView.prototype.getUint16",
|
|
||||||
"DataView.prototype.getUint32",
|
|
||||||
"WeakMap",
|
|
||||||
"Promise.prototype.finally",
|
|
||||||
"String.prototype.endsWith",
|
"String.prototype.endsWith",
|
||||||
"String.prototype.includes",
|
"String.prototype.includes",
|
||||||
"String.prototype.matchAll",
|
"String.prototype.matchAll",
|
||||||
"string-trimming",
|
|
||||||
"String.prototype.trimEnd",
|
"String.prototype.trimEnd",
|
||||||
"String.prototype.trimStart",
|
"String.prototype.trimStart",
|
||||||
|
"string-trimming",
|
||||||
|
"super",
|
||||||
|
"Symbol",
|
||||||
|
"Symbol.asyncIterator",
|
||||||
|
"Symbol.hasInstance",
|
||||||
|
"Symbol.isConcatSpreadable",
|
||||||
|
"Symbol.iterator",
|
||||||
|
"Symbol.match",
|
||||||
|
"Symbol.matchAll",
|
||||||
"Symbol.prototype.description",
|
"Symbol.prototype.description",
|
||||||
|
"Symbol.replace",
|
||||||
|
"Symbol.search",
|
||||||
|
"Symbol.split",
|
||||||
|
"Symbol.species",
|
||||||
|
"Symbol.toPrimitive",
|
||||||
|
"Symbol.toStringTag",
|
||||||
|
"Symbol.unscopables",
|
||||||
|
"tail-call-optimization",
|
||||||
|
"template",
|
||||||
|
"TypedArray",
|
||||||
|
"u180e",
|
||||||
|
"Uint8Array",
|
||||||
|
"Uint8ClampedArray",
|
||||||
|
"Uint16Array",
|
||||||
|
"WeakMap",
|
||||||
|
"WeakSet",
|
||||||
|
"well-formed-json-stringify",
|
||||||
];
|
];
|
||||||
|
|
||||||
const featuresToPlugins = {
|
const featuresToPlugins = {
|
||||||
@ -228,6 +230,7 @@ exports.updateWhitelist = function(filename, summary) {
|
|||||||
return line !== null;
|
return line !== null;
|
||||||
})
|
})
|
||||||
.concat(toAdd)
|
.concat(toAdd)
|
||||||
|
.sort()
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
return pfs.writeFile(filename, newContents, "utf-8");
|
return pfs.writeFile(filename, newContents, "utf-8");
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user