Commit c82046ad authored by henry's avatar henry Committed by brizental
Browse files

TB 41600: Add a tor circuit display panel.

parent e6726671
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -139,3 +139,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
@@ -349,6 +349,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
@@ -1197,6 +1199,8 @@ var gBrowserInit = {

    SecurityLevelButton.uninit();

    gTorCircuitPanel.uninit();

    // LinkPreview.sys.mjs is missing. tor-browser#44045.

    BrowserUtils.callModulesFromCategory(
+5 −0
Original line number Diff line number Diff line
@@ -316,6 +316,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
@@ -239,5 +239,6 @@
  "SecurityLevelButton",
  "TorUIUtils",
  "NewIdentityButton",
  "TorDomainIsolator"
  "TorDomainIsolator",
  "gTorCircuitPanel"
]
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,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