Verified Commit 1d9f569a authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! Bug 41668: Tweaks to the Base Browser updater for Tor Browser

Remove the unused errorCode parameter in
_shouldRegisterBootstrapObserver.

Also, aligned a string to the 80 characters limit.
parent d3f90346
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ ChromeUtils.defineLazyGetter(
  }
);

async function _shouldRegisterBootstrapObserver(errorCode) {
async function _shouldRegisterBootstrapObserver() {
  try {
    const provider = await lazy.TorProviderBuilder.build();
    return !provider.isBootstrapDone && provider.ownsTorDaemon;
@@ -3299,8 +3299,8 @@ export class UpdateService {
    }

    LOG(
      "UpdateService:_registerBootstrapObserver - waiting for tor bootstrap to " +
        "be complete, then forcing another check"
      "UpdateService:_registerBootstrapObserver - waiting for tor bootstrap " +
        "to be complete, then forcing another check"
    );

    Services.obs.addObserver(this, "torconnect:bootstrap-complete");