Skip to content
Snippets Groups Projects
Commit a60fc567 authored by Cecylia Bocovich's avatar Cecylia Bocovich :speech_balloon: Committed by Pier Angelo Vendrame
Browse files

Lox integration

parent 1fa1d9dc
Branches
Tags
1 merge request!1505BB/TB 43416: Rebased onto 135.0a1
......@@ -130,3 +130,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");
......@@ -616,6 +616,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
......
This diff is collapsed.
toolkit.jar:
#ifndef ANDROID
content/global/lox/lox_wasm_bg.wasm (content/lox_wasm_bg.wasm)
#endif
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"]
......@@ -47,6 +47,7 @@ DIRS += [
"httpsonlyerror",
"jsoncpp/src/lib_json",
"kvstore",
"lox",
"mediasniffer",
"ml",
"mozintl",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment