2420: asm.js info tweak, fixes #335

This commit is contained in:
Thorin-Oakenpants 2018-01-12 05:08:36 +13:00 committed by GitHub
parent 3acef78f59
commit f820ecbacb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1156,10 +1156,11 @@ user_pref("dom.idle-observers-api.enabled", false);
/* 2418: disable full-screen API /* 2418: disable full-screen API
* false=block, true=ask ***/ * false=block, true=ask ***/
user_pref("full-screen-api.enabled", false); user_pref("full-screen-api.enabled", false);
/* 2420: disable support for asm.js ( http://asmjs.org/ ) /* 2420: disable asm.js (http://asmjs.org/) (FF22+)
* [1] https://www.mozilla.org/security/advisories/mfsa2015-29/ * [1] https://www.mozilla.org/security/advisories/mfsa2015-29/
* [2] https://www.mozilla.org/security/advisories/mfsa2015-50/ * [2] https://www.mozilla.org/security/advisories/mfsa2015-50/
* [3] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2712 ***/ * [3] https://www.mozilla.org/security/advisories/mfsa2017-01/#CVE-2017-5375
* [4] https://www.mozilla.org/security/advisories/mfsa2017-05/#CVE-2017-5400 ***/
user_pref("javascript.options.asmjs", false); user_pref("javascript.options.asmjs", false);
/* 2421: disable Ion and baseline JIT to help harden JS against exploits such as CVE-2015-0817 /* 2421: disable Ion and baseline JIT to help harden JS against exploits such as CVE-2015-0817
* [WARNING] Causes the odd site issue and there is also a performance loss * [WARNING] Causes the odd site issue and there is also a performance loss