Commit 67c4411b authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

TB 40926: Implemented the New Identity feature

parent 14c35546
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -131,6 +131,7 @@ pref("extensions.torlauncher.bridgedb_reflector", "https://bespoke-strudel-c243c
pref("extensions.torlauncher.moat_service", "https://bridges.torproject.org/moat");

// Log levels
pref("browser.new_identity.log_level", "Info");
pref("browser.tor_provider.log_level", "Warn");
pref("browser.tor_provider.cp_log_level", "Warn");
pref("lox.log_level", "Warn");
+6 −0
Original line number Diff line number Diff line
@@ -68,6 +68,12 @@
                     key="key_privatebrowsing"
                     command="Tools:PrivateBrowsing"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-new-identity"
                     class="subviewbutton"
                     data-l10n-id="appmenuitem-new-identity"
                     key="new-identity-key"
                     command="cmd_newIdentity"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-bookmarks-button"
                     class="subviewbutton subviewbutton-nav"
                     data-l10n-id="library-bookmarks-menu"
+6 −0
Original line number Diff line number Diff line
@@ -25,6 +25,12 @@
                <menuitem id="menu_newPrivateWindow"
                          command="Tools:PrivateBrowsing"
                          key="key_privatebrowsing" data-l10n-id="menu-file-new-private-window"/>
                <menuseparator/>
                <menuitem id="menu_newIdentity"
                          command="cmd_newIdentity"
                          key="new-identity-key"
                          data-l10n-id="menu-new-identity"/>
                <menuseparator/>
                <menuitem id="menu_openLocation"
                          hidden="true"
                          command="Browser:OpenLocation"
+3 −0
Original line number Diff line number Diff line
@@ -120,6 +120,8 @@
#ifdef XP_MACOSX
    <command id="zoomWindow" data-l10n-id="window-zoom-command" />
#endif

    <command id="cmd_newIdentity" />
  </commandset>
#include ../../components/places/content/placesCommands.inc.xhtml
  <commandset id="splitViewCommands">
@@ -419,4 +421,5 @@
         modifiers="accel,alt"
         internal="true"/>
#endif
    <key id="new-identity-key" modifiers="accel shift" key="U" command="cmd_newIdentity"/>
  </keyset>
+3 −0
Original line number Diff line number Diff line
@@ -282,6 +282,9 @@ document.addEventListener(
          case "zoomWindow":
            zoomWindow();
            break;
          case "cmd_newIdentity":
            NewIdentityButton.onCommand(event);
            break;
        }
      });

Loading