summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-21 09:53:24 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-21 09:53:24 +0100
commit890bb438b000821586c076ed8f880e95ea03f075 (patch)
tree297e11dfda4adf5568ffb7668d78f4a282b7773d /modules/libpref/init
parent85e33523c3683fdb8a3fd45f8c317fb30d8ca8a4 (diff)
downloadUXP-890bb438b000821586c076ed8f880e95ea03f075.tar
UXP-890bb438b000821586c076ed8f880e95ea03f075.tar.gz
UXP-890bb438b000821586c076ed8f880e95ea03f075.tar.lz
UXP-890bb438b000821586c076ed8f880e95ea03f075.tar.xz
UXP-890bb438b000821586c076ed8f880e95ea03f075.zip
Pref the use of unboxed plain objects in JS and disable by default.
This should be all that's needed for #1017, but verification of impact is definitely desired.
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 4111ca8a9..aed20c854 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1264,6 +1264,7 @@ pref("javascript.options.strict", false);
#ifdef DEBUG
pref("javascript.options.strict.debug", false);
#endif
+pref("javascript.options.unboxed_objects", false);
pref("javascript.options.baselinejit", true);
pref("javascript.options.ion", true);
pref("javascript.options.asmjs", true);