GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 810ba7e9 authored by Alex Catarineu's avatar Alex Catarineu

Bug 31303: Do not launch tor in browser toolbox

parent 784dbc8b
......@@ -333,10 +333,13 @@ let TorLauncherUtil = // Public
const kPrefStartTor = "extensions.torlauncher.start_tor";
const kBrowserToolboxPort = "MOZ_BROWSER_TOOLBOX_PORT";
const kEnvSkipLaunch = "TOR_SKIP_LAUNCH";
var env = Cc[";1"]
if (env.exists(kBrowserToolboxPort))
return false;
if (env.exists(kEnvSkipLaunch))
return ("1" != env.get(kEnvSkipLaunch));
} catch(e) {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment