summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-27 17:05:14 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-27 17:05:14 +0200
commit424ed1b165e50f2e71c082c0c70fcda2a2764d18 (patch)
treede9a183ef7229a056914bab5bcc855ca6cc3c9e9 /js/xpconnect/tests
parent8d5ec757ece850fb7ad5c712868f305636e41177 (diff)
downloadUXP-424ed1b165e50f2e71c082c0c70fcda2a2764d18.tar
UXP-424ed1b165e50f2e71c082c0c70fcda2a2764d18.tar.gz
UXP-424ed1b165e50f2e71c082c0c70fcda2a2764d18.tar.lz
UXP-424ed1b165e50f2e71c082c0c70fcda2a2764d18.tar.xz
UXP-424ed1b165e50f2e71c082c0c70fcda2a2764d18.zip
Enable Array.prototype.values
This resolves #85
Diffstat (limited to 'js/xpconnect/tests')
-rw-r--r--js/xpconnect/tests/chrome/test_xrayToJS.xul5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xul b/js/xpconnect/tests/chrome/test_xrayToJS.xul
index aaacd4d00..bf930d3ea 100644
--- a/js/xpconnect/tests/chrome/test_xrayToJS.xul
+++ b/js/xpconnect/tests/chrome/test_xrayToJS.xul
@@ -198,10 +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",
- "constructor"];
- if (isNightlyBuild) {
- gPrototypeProperties['Array'].push("values");
- }
+ "values", "constructor"];
gConstructorProperties['Array'] =
constructorProps(["join", "reverse", "sort", "push", "pop", "shift",
"unshift", "splice", "concat", "slice", "isArray",