зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1799619 - Disable array grouping by default on nightly; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D161567
This commit is contained in:
Родитель
9843aa2746
Коммит
90c9e66373
|
@ -278,7 +278,7 @@ class JS_PUBLIC_API RealmCreationOptions {
|
||||||
bool iteratorHelpers_ = false;
|
bool iteratorHelpers_ = false;
|
||||||
bool shadowRealms_ = false;
|
bool shadowRealms_ = false;
|
||||||
#ifdef NIGHTLY_BUILD
|
#ifdef NIGHTLY_BUILD
|
||||||
bool arrayGrouping_ = true;
|
bool arrayGrouping_ = false;
|
||||||
bool arrayFromAsync_ = false;
|
bool arrayFromAsync_ = false;
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_CHANGE_ARRAY_BY_COPY
|
#ifdef ENABLE_CHANGE_ARRAY_BY_COPY
|
||||||
|
|
|
@ -611,7 +611,7 @@ bool shell::enablePropertyErrorMessageFix = false;
|
||||||
bool shell::enableIteratorHelpers = false;
|
bool shell::enableIteratorHelpers = false;
|
||||||
bool shell::enableShadowRealms = false;
|
bool shell::enableShadowRealms = false;
|
||||||
#ifdef NIGHTLY_BUILD
|
#ifdef NIGHTLY_BUILD
|
||||||
bool shell::enableArrayGrouping = true;
|
bool shell::enableArrayGrouping = false;
|
||||||
bool shell::enableArrayFromAsync = false;
|
bool shell::enableArrayFromAsync = false;
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_CHANGE_ARRAY_BY_COPY
|
#ifdef ENABLE_CHANGE_ARRAY_BY_COPY
|
||||||
|
|
|
@ -778,7 +778,7 @@ static mozilla::Atomic<bool> sWeakRefsExposeCleanupSome(false);
|
||||||
static mozilla::Atomic<bool> sIteratorHelpersEnabled(false);
|
static mozilla::Atomic<bool> sIteratorHelpersEnabled(false);
|
||||||
static mozilla::Atomic<bool> sShadowRealmsEnabled(false);
|
static mozilla::Atomic<bool> sShadowRealmsEnabled(false);
|
||||||
#ifdef NIGHTLY_BUILD
|
#ifdef NIGHTLY_BUILD
|
||||||
static mozilla::Atomic<bool> sArrayGroupingEnabled(true);
|
static mozilla::Atomic<bool> sArrayGroupingEnabled(false);
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_CHANGE_ARRAY_BY_COPY
|
#ifdef ENABLE_CHANGE_ARRAY_BY_COPY
|
||||||
static mozilla::Atomic<bool> sChangeArrayByCopyEnabled(false);
|
static mozilla::Atomic<bool> sChangeArrayByCopyEnabled(false);
|
||||||
|
|
|
@ -235,10 +235,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681
|
||||||
"includes", "forEach", "map", "reduce", "reduceRight", "filter", "some", "every", "find",
|
"includes", "forEach", "map", "reduce", "reduceRight", "filter", "some", "every", "find",
|
||||||
"findIndex", "copyWithin", "fill", Symbol.iterator, Symbol.unscopables, "entries", "keys",
|
"findIndex", "copyWithin", "fill", Symbol.iterator, Symbol.unscopables, "entries", "keys",
|
||||||
"values", "constructor", "flat", "flatMap", "at", "findLast", "findLastIndex"];
|
"values", "constructor", "flat", "flatMap", "at", "findLast", "findLastIndex"];
|
||||||
if (isNightlyBuild) {
|
|
||||||
gPrototypeProperties.Array.push("group");
|
|
||||||
gPrototypeProperties.Array.push("groupToMap");
|
|
||||||
}
|
|
||||||
gConstructorProperties.Array =
|
gConstructorProperties.Array =
|
||||||
constructorProps(["isArray", "from", "of", Symbol.species]);
|
constructorProps(["isArray", "from", "of", Symbol.species]);
|
||||||
for (let c of typedArrayClasses) {
|
for (let c of typedArrayClasses) {
|
||||||
|
|
|
@ -7293,7 +7293,7 @@
|
||||||
# Experimental support for Array Grouping in JavaScript.
|
# Experimental support for Array Grouping in JavaScript.
|
||||||
- name: javascript.options.experimental.array_grouping
|
- name: javascript.options.experimental.array_grouping
|
||||||
type: bool
|
type: bool
|
||||||
value: true
|
value: false
|
||||||
mirror: always
|
mirror: always
|
||||||
#endif // NIGHTLY_BUILD
|
#endif // NIGHTLY_BUILD
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче