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