Commit 5e4272c1 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

TB 41600: Add a tor circuit display panel.

parent 1bd9dbcd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,3 +135,4 @@ pref("torbrowser.bootstrap.log_level", "Info");
pref("browser.torsettings.log_level", "Warn");
pref("browser.torMoat.loglevel", "Warn");
pref("browser.tordomainisolator.loglevel", "Warn");
pref("browser.torcircuitpanel.loglevel", "Log");
+4 −0
Original line number Diff line number Diff line
@@ -229,6 +229,8 @@ var gBrowserInit = {
    // Init the SecurityLevelButton
    SecurityLevelButton.init();

    gTorCircuitPanel.init();

    // Certain kinds of automigration rely on this notification to complete
    // their tasks BEFORE the browser window is shown. SessionStore uses it to
    // restore tabs into windows AFTER important parts like gMultiProcessBrowser
@@ -1040,6 +1042,8 @@ var gBrowserInit = {

    SecurityLevelButton.uninit();

    gTorCircuitPanel.uninit();

    if (gToolbarKeyNavEnabled) {
      ToolbarKeyboardNavigator.uninit();
    }
+5 −0
Original line number Diff line number Diff line
@@ -305,6 +305,11 @@ XPCOMUtils.defineLazyScriptGetter(
  "gProfiles",
  "chrome://browser/content/browser-profiles.js"
);
XPCOMUtils.defineLazyScriptGetter(
  this,
  ["gTorCircuitPanel"],
  "chrome://browser/content/torCircuitPanel.js"
);

// lazy service getters

+2 −1
Original line number Diff line number Diff line
@@ -253,5 +253,6 @@
  "SecurityLevelButton",
  "NewIdentityButton",
  "TorUIUtils",
  "TorDomainIsolator"
  "TorDomainIsolator",
  "gTorCircuitPanel"
]
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@

  <link rel="stylesheet" href="chrome://browser/content/securitylevel/securityLevelPanel.css" />
  <link rel="stylesheet" href="chrome://browser/content/securitylevel/securityLevelButton.css" />
  <link rel="stylesheet" href="chrome://browser/content/torCircuitPanel.css" />

  <link rel="localization" href="branding/brand.ftl"/>
  <link rel="localization" href="browser/allTabsMenu.ftl"/>
Loading