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