Commit 87ce636b authored by henry's avatar henry Committed by brizental
Browse files

TB 41600: Add a tor circuit display panel.

parent 34c9c6cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -138,3 +138,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
@@ -244,6 +244,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
@@ -1085,6 +1087,8 @@ var gBrowserInit = {

    SecurityLevelButton.uninit();

    gTorCircuitPanel.uninit();

    if (gToolbarKeyNavEnabled) {
      ToolbarKeyboardNavigator.uninit();
    }
+5 −0
Original line number Diff line number Diff line
@@ -312,6 +312,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
@@ -242,5 +242,6 @@
  "SecurityLevelButton",
  "NewIdentityButton",
  "TorUIUtils",
  "TorDomainIsolator"
  "TorDomainIsolator",
  "gTorCircuitPanel"
]
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,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