Commit 39ab6faf authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by morgan
Browse files

dropme! Bug 4234: Use the Firefox Update Process for Base Browser.

This commit is not for rebase.

Revert "fixup! Bug 4234: Use the Firefox Update Process for Base Browser."

This reverts commit af856ef0.
parent 61c5f500
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3751,20 +3751,18 @@ export class UpdateService {

      switch (update.type) {
        case "major":
          if (!majorUpdate || majorUpdate.unsupported) {
          if (!majorUpdate) {
            majorUpdate = update;
          } else if (
            !update.unsupported &&
            vc.compare(majorUpdate.appVersion, update.appVersion) <= 0
          ) {
            majorUpdate = update;
          }
          break;
        case "minor":
          if (!minorUpdate || minorUpdate.unsupported) {
          if (!minorUpdate) {
            minorUpdate = update;
          } else if (
            !update.unsupported &&
            vc.compare(minorUpdate.appVersion, update.appVersion) <= 0
          ) {
            minorUpdate = update;