summaryrefslogtreecommitdiffstats
path: root/js/xpconnect
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-19 23:11:17 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-19 23:11:17 +0200
commit162e22a7de3026b676156a2aad29909fe3795dba (patch)
tree5f289528d555a2b7f2906c72591773814d6e0ea4 /js/xpconnect
parentc72afc3c8c3f1df53d241c45dd21aa1b2a6c8e50 (diff)
downloadUXP-162e22a7de3026b676156a2aad29909fe3795dba.tar
UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar.gz
UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar.lz
UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar.xz
UXP-162e22a7de3026b676156a2aad29909fe3795dba.zip
Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to @@unscopables as specced in ES2019. Resolves #1095
Diffstat (limited to 'js/xpconnect')
-rw-r--r--js/xpconnect/tests/chrome/test_xrayToJS.xul2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xul b/js/xpconnect/tests/chrome/test_xrayToJS.xul
index ed67a34fe..73de267a1 100644
--- a/js/xpconnect/tests/chrome/test_xrayToJS.xul
+++ b/js/xpconnect/tests/chrome/test_xrayToJS.xul
@@ -198,7 +198,7 @@ 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"];
+ "values", "constructor", "flat", "flatMap"];
if (isNightlyBuild) {
// ...nothing now
}