Commit 9bdc420e authored by Cecylia Bocovich's avatar Cecylia Bocovich 💬 Committed by Pier Angelo Vendrame
Browse files

Lox integration

parent 6aa8149c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -133,3 +133,4 @@ pref("extensions.torlauncher.moat_service", "https://bridges.torproject.org/moat
// Log levels
pref("browser.tor_provider.log_level", "Warn");
pref("browser.tor_provider.cp_log_level", "Warn");
pref("lox.log_level", "Warn");
+3 −0
Original line number Diff line number Diff line
@@ -625,6 +625,9 @@ bool nsContentSecurityUtils::IsEvalAllowed(JSContext* cx,

      // The Browser Toolbox/Console
      "debugger"_ns,

      // Tor Browser's Lox wasm integration
      "resource://gre/modules/lox_wasm.jsm"_ns,
  };

  // We also permit two specific idioms in eval()-like contexts. We'd like to
+1148 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −0
Original line number Diff line number Diff line
toolkit.jar:
#ifndef ANDROID
    content/global/lox/lox_wasm_bg.wasm                      (content/lox_wasm_bg.wasm)
#endif
+7 −0
Original line number Diff line number Diff line
EXTRA_JS_MODULES += [
    "Lox.sys.mjs",
    # Let's keep the old jsm format until wasm-bindgen is updated
    "lox_wasm.jsm",
]

JAR_MANIFESTS += ["jar.mn"]
Loading