Verified Commit a81a73f6 authored by henry's avatar henry Committed by ma1
Browse files

TB 41600: Add a tor circuit display panel.

parent 699aeda1
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
@@ -225,6 +225,8 @@ var gBrowserInit = {
    // Init the NewIdentityButton
    NewIdentityButton.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
@@ -1033,6 +1035,8 @@ var gBrowserInit = {

    NewIdentityButton.uninit();

    gTorCircuitPanel.uninit();

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