Bug 1749496 - Add groupby and groupbytomap to xrayToJS only in nightly build r=xpcom-reviewers,nika

Differential Revision: https://phabricator.services.mozilla.com/D135604
This commit is contained in:
Yulia Startsev 2022-01-12 12:22:56 +00:00
parent 67edebb322
commit 054098f80a

View File

@ -231,7 +231,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681
"pop", "shift", "unshift", "splice", "concat", "slice", "lastIndexOf", "indexOf",
"includes", "forEach", "map", "reduce", "reduceRight", "filter", "some", "every", "find",
"findIndex", "copyWithin", "fill", Symbol.iterator, Symbol.unscopables, "entries", "keys",
"values", "constructor", "flat", "flatMap", "at", "groupBy", "groupByToMap"];
"values", "constructor", "flat", "flatMap", "at"];
if (isNightlyBuild) {
gPrototypeProperties['Array'].push("groupBy");
gPrototypeProperties['Array'].push("groupByToMap");
}
gConstructorProperties['Array'] =
constructorProps(["isArray", "from", "of", Symbol.species]);
for (var c of typedArrayClasses) {