diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-03-27 17:05:14 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-27 17:05:14 +0200 |
commit | 424ed1b165e50f2e71c082c0c70fcda2a2764d18 (patch) | |
tree | de9a183ef7229a056914bab5bcc855ca6cc3c9e9 /js/xpconnect/tests | |
parent | 8d5ec757ece850fb7ad5c712868f305636e41177 (diff) | |
download | UXP-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.xul | 5 |
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", |