Преглед на файлове

2427: js shared memory

MZ are flipping and a flopping on the value for a while now, lets enforce as false, specially since Spectre
Thorin-Oakenpants преди 7 години
родител
ревизия
93c3457d18
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      user.js

+ 4 - 0
user.js

@@ -1145,6 +1145,10 @@ user_pref("javascript.options.wasm", false);
  * [2] https://w3c.github.io/IntersectionObserver/
  * [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1243846 ***/
 user_pref("dom.IntersectionObserver.enabled", false);
+/* 2427: disable Shared Memory (Spectre mitigation)
+ * [1] https://github.com/tc39/ecmascript_sharedmem/blob/master/TUTORIAL.md
+ * [2] https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/ ***/
+user_pref("javascript.options.shared_memory", false);
 
 /*** 2500: HARDWARE FINGERPRINTING ***/
 user_pref("_user.js.parrot", "2500 syntax error: the parrot's shuffled off 'is mortal coil!");