From 0c36b27511c1fbca594f0426c493ef601fda3e4c Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Tue, 20 Feb 2018 21:21:56 +0100 Subject: JS - support for Array.prototype.values() --- js/xpconnect/tests/chrome/test_xrayToJS.xul | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/xpconnect/tests/chrome') diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xul b/js/xpconnect/tests/chrome/test_xrayToJS.xul index 2f4e70f47..25f882f23 100644 --- a/js/xpconnect/tests/chrome/test_xrayToJS.xul +++ b/js/xpconnect/tests/chrome/test_xrayToJS.xul @@ -198,9 +198,9 @@ 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"]; + "values", "constructor"]; if (isNightlyBuild) { - gPrototypeProperties['Array'].push("values"); + // ...nothing now } gConstructorProperties['Array'] = constructorProps(["join", "reverse", "sort", "push", "pop", "shift", -- cgit v1.2.3