Bug 1513661 - Part 1: Update test262 importer to handle new feature flags. r=jorendorff

This commit is contained in:
André Bargull 2018-12-12 11:36:41 -08:00
Родитель 0c1169eedc
Коммит d16ddd04ec
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -36,13 +36,14 @@ UNSUPPORTED_FEATURES = set([
"Symbol.matchAll",
"global",
"export-star-as-namespace-from-module",
"Intl.ListFormat",
"Intl.Segmenter",
"Intl.NumberFormat-unified",
])
FEATURE_CHECK_NEEDED = {
"Atomics": "!this.hasOwnProperty('Atomics')",
"BigInt": "!this.hasOwnProperty('BigInt')",
"SharedArrayBuffer": "!this.hasOwnProperty('SharedArrayBuffer')",
"Intl.ListFormat": "!Intl.hasOwnProperty('ListFormat')",
"Intl.Segmenter": "!Intl.hasOwnProperty('Segmenter')",
"dynamic-import": "!xulRuntime.shell",
}
RELEASE_OR_BETA = set()