summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-20 21:21:56 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-20 21:21:56 +0100
commit0c36b27511c1fbca594f0426c493ef601fda3e4c (patch)
tree6e801c0abb01391e6008a49f9d6c4ac4dd967cd8 /modules/libpref/init
parentd77729916b4b9c2b67abd41181336c2cbb1da968 (diff)
downloadUXP-0c36b27511c1fbca594f0426c493ef601fda3e4c.tar
UXP-0c36b27511c1fbca594f0426c493ef601fda3e4c.tar.gz
UXP-0c36b27511c1fbca594f0426c493ef601fda3e4c.tar.lz
UXP-0c36b27511c1fbca594f0426c493ef601fda3e4c.tar.xz
UXP-0c36b27511c1fbca594f0426c493ef601fda3e4c.zip
JS - support for Array.prototype.values()
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index aaf50bff6..95b8cf419 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1230,6 +1230,8 @@ pref("dom.webcomponents.enabled", false);
pref("dom.webcomponents.customelements.enabled", false);
pref("javascript.enabled", true);
+// Enable Array.prototype.values
+pref("javascript.options.array_prototype_values", true);
pref("javascript.options.strict", false);
#ifdef DEBUG
pref("javascript.options.strict.debug", false);