зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1570011 - Part 1: Update test262 features list. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D39891 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ae8a57e07f
Коммит
45f3e465fc
|
@ -20,6 +20,7 @@
|
|||
var getSharedArrayBuffer = global.getSharedArrayBuffer;
|
||||
var evalInWorker = global.evalInWorker;
|
||||
var monotonicNow = global.monotonicNow;
|
||||
var gc = global.gc;
|
||||
|
||||
var hasCreateIsHTMLDDA = "createIsHTMLDDA" in global;
|
||||
var hasThreads = ("helperThreadCount" in global ? global.helperThreadCount() > 0 : true);
|
||||
|
@ -51,6 +52,9 @@
|
|||
evalScript: global.evaluateScript || global.evaluate,
|
||||
global,
|
||||
IsHTMLDDA,
|
||||
gc() {
|
||||
gc();
|
||||
},
|
||||
agent: (function () {
|
||||
|
||||
// SpiderMonkey complication: With run-time argument --no-threads
|
||||
|
|
|
@ -30,7 +30,6 @@ UNSUPPORTED_FEATURES = set([
|
|||
"regexp-lookbehind",
|
||||
"regexp-named-groups",
|
||||
"regexp-unicode-property-escapes",
|
||||
"global",
|
||||
"export-star-as-namespace-from-module",
|
||||
"Intl.DateTimeFormat-quarter",
|
||||
"Intl.DateTimeFormat-datetimestyle",
|
||||
|
@ -38,20 +37,18 @@ UNSUPPORTED_FEATURES = set([
|
|||
"Intl.DateTimeFormat-formatRange",
|
||||
"Intl.ListFormat",
|
||||
"Intl.Segmenter",
|
||||
"Promise.allSettled",
|
||||
"WeakRef",
|
||||
"FinalizationGroup",
|
||||
])
|
||||
FEATURE_CHECK_NEEDED = {
|
||||
"Atomics": "!this.hasOwnProperty('Atomics')",
|
||||
"BigInt": "!this.hasOwnProperty('BigInt')",
|
||||
"SharedArrayBuffer": "!this.hasOwnProperty('SharedArrayBuffer')",
|
||||
# Syntax is a bit weird, because this string cannot have spaces in it
|
||||
"class-fields-public":
|
||||
"(function(){try{eval('c=class{x;}');return(false);}catch{return(true);}})()",
|
||||
"dynamic-import": "!xulRuntime.shell",
|
||||
}
|
||||
RELEASE_OR_BETA = set([
|
||||
"Intl.NumberFormat-unified",
|
||||
"Intl.DateTimeFormat-fractionalSecondDigits",
|
||||
"Promise.allSettled",
|
||||
])
|
||||
|
||||
|
||||
|
|
|
@ -384,6 +384,7 @@ function $DONOTEVALUATE() {
|
|||
var getSharedArrayBuffer = global.getSharedArrayBuffer;
|
||||
var evalInWorker = global.evalInWorker;
|
||||
var monotonicNow = global.monotonicNow;
|
||||
var gc = global.gc;
|
||||
|
||||
var hasCreateIsHTMLDDA = "createIsHTMLDDA" in global;
|
||||
var hasThreads = ("helperThreadCount" in global ? global.helperThreadCount() > 0 : true);
|
||||
|
@ -415,6 +416,9 @@ function $DONOTEVALUATE() {
|
|||
evalScript: global.evaluateScript || global.evaluate,
|
||||
global,
|
||||
IsHTMLDDA,
|
||||
gc() {
|
||||
gc();
|
||||
},
|
||||
agent: (function () {
|
||||
|
||||
// SpiderMonkey complication: With run-time argument --no-threads
|
||||
|
|
Загрузка…
Ссылка в новой задаче