Verified Commit 36f05ec4 authored by Cecylia Bocovich's avatar Cecylia Bocovich 💬 Committed by ma1
Browse files

Lox integration

parent 55451dd4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -618,6 +618,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
+1031 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
toolkit.jar:
    content/global/lox/lox_wasm_bg.wasm                      (content/lox_wasm_bg.wasm)
+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"]
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ DIRS += [
    "httpsonlyerror",
    "jsoncpp/src/lib_json",
    "kvstore",
    "lox",
    "mediasniffer",
    "mozintl",
    "mozprotocol",