Commit 8598151d authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by Richard Pospesel
Browse files

fixup! squash! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Bug 40918: Hide breadcrumbs on the first bootstrap
parent ceaf8700
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ class AboutTorConnect {
    allowAutomaticLocation: true,
    selectedLocation: "automatic",
    bootstrapCause: UIStates.ConnectToTor,
    bootstrapEverAttempted: false,
  };

  locations = {};
@@ -499,7 +500,13 @@ class AboutTorConnect {
    this.setTitle(title, "");
    this.showConfigureConnectionLink(description);
    this.setProgress("", showProgressbar, state.BootstrapProgress);
    if (this.uiState.bootstrapEverAttempted) {
      this.setBreadcrumbsStatus(...breadcrumbs);
    } else {
      this.hideBreadcrumbs();
      this.uiState.bootstrapEverAttempted = true;
      this.saveUIState();
    }
    this.hideButtons();
    if (state.ShowViewLog) {
      this.show(this.elements.viewLogContainer);