Commit 30aeae7f authored by Cecylia Bocovich's avatar Cecylia Bocovich 💬 Committed by Pier Angelo Vendrame
Browse files

Lox integration

parent 7f6b37c0
Loading
Loading
Loading
Loading
+1 −0
Changes for browser/app/profile/000-tor-browser.js: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -148,3 +148,4 @@ pref("browser.profiles.enable", false);
// Log levels
pref("browser.tor_provider.log_level", "Warn");
pref("browser.tor_provider.cp_log_level", "Warn");
pref("lox.log_level", "Warn");
+3 −0
Changes for dom/security/nsContentSecurityUtils.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -639,6 +639,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
+1145 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −0
Changes for toolkit/components/lox/jar.mn: 4 added lines, 0 removed lines.
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
+10 −0
Changes for toolkit/components/lox/moz.build: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
EXTRA_JS_MODULES += [
    # Let's keep the old jsm format until wasm-bindgen is updated
    "lox_wasm.jsm",
]

MOZ_SRC_FILES += [
    "Lox.sys.mjs",
]

JAR_MANIFESTS += ["jar.mn"]
Loading