Verified Commit 8d7ba10b authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

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

TB 42720: Show what's new in the about:dialog.

Add a variable for the base browser version without dot, as we use it
in blog post URLs.
parent 8f35f42f
Loading
Loading
Loading
Loading
+7 −0
Changes for toolkit/components/urlformatter/URLFormatter.sys.mjs: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -137,6 +137,13 @@ nsURLFormatterService.prototype = {
    BB_VERSION() {
      return AppConstants.BASE_BROWSER_VERSION;
    },
    BB_VERSION_FOR_URLS() {
      let version = AppConstants.BASE_BROWSER_VERSION;
      if (/^[0-9a\.]+$/.test(version)) {
        version = version.replaceAll(".", "");
      }
      return version;
    },
  },

  formatURL: function uf_formatURL(aFormat) {