Commit a1481d3a authored by Arthur Edelstein's avatar Arthur Edelstein Committed by Pier Angelo Vendrame
Browse files

TB 3455: Add DomainIsolator, for isolating circuit by domain.

Add an XPCOM component that registers a ProtocolProxyChannelFilter
which sets the username/password for each web request according to
url bar domain.

Bug 9442: Add New Circuit button

Bug 13766: Set a 10 minute circuit dirty timeout for the catch-all circ.

Bug 19206: Include a 128 bit random tag as part of the domain isolator nonce.

Bug 19206: Clear out the domain isolator state on `New Identity`.

Bug 21201.2: Isolate by firstPartyDomain from OriginAttributes

Bug 21745: Fix handling of catch-all circuit

Bug 41741: Refactor the domain isolator and new circuit
parent 7dd1049f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -134,3 +134,4 @@ pref("lox.log_level", "Warn");
pref("torbrowser.bootstrap.log_level", "Info");
pref("browser.torsettings.log_level", "Warn");
pref("browser.torMoat.loglevel", "Warn");
pref("browser.tordomainisolator.loglevel", "Warn");
+5 −0
Original line number Diff line number Diff line
@@ -59,6 +59,11 @@
                     class="subviewbutton"
                     data-l10n-id="appmenuitem-new-identity"
                     key="new-identity-key"/>
      <toolbarbutton id="appMenuNewCircuit"
                     class="subviewbutton"
                     key="new-circuit-key"
                     data-l10n-id="appmenuitem-new-tor-circuit"
                     oncommand="TorDomainIsolator.newCircuitForBrowser(gBrowser.selectedBrowser);"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-bookmarks-button"
                     class="subviewbutton subviewbutton-nav"
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,9 @@
                <menuseparator/>
                <menuitem id="menu_newIdentity"
                          key="new-identity-key" data-l10n-id="menu-new-identity"/>
                <menuitem id="menu_newCircuit"
                          key="new-circuit-key" data-l10n-id="menu-new-tor-circuit"
                          oncommand="TorDomainIsolator.newCircuitForBrowser(gBrowser.selectedBrowser);"/>
                <menuseparator/>
                <menuitem id="menu_openLocation"
                          hidden="true"
+1 −0
Original line number Diff line number Diff line
@@ -405,4 +405,5 @@
         internal="true"/>
#endif
    <key id="new-identity-key" modifiers="accel shift" key="U" command="cmd_newIdentity"/>
    <key id="new-circuit-key" modifiers="accel shift" key="L" oncommand="TorDomainIsolator.newCircuitForBrowser(gBrowser.selectedBrowser)"/>
  </keyset>
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ ChromeUtils.defineESModuleGetters(this, {
  ToolbarContextMenu: "resource:///modules/ToolbarContextMenu.sys.mjs",
  ToolbarDropHandler: "resource:///modules/ToolbarDropHandler.sys.mjs",
  ToolbarIconColor: "moz-src:///browser/themes/ToolbarIconColor.sys.mjs",
  TorDomainIsolator: "resource://gre/modules/TorDomainIsolator.sys.mjs",
  TorUIUtils: "resource:///modules/TorUIUtils.sys.mjs",
  TranslationsParent: "resource://gre/actors/TranslationsParent.sys.mjs",
  UITour: "moz-src:///browser/components/uitour/UITour.sys.mjs",
Loading