[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.3.0esr-16.0-1] 2 commits: fixup! TB 44361: Notification for dropped support for 32-bit Linux.



Title: GitLab

henry pushed to branch tor-browser-153.3.0esr-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 0b143a96
    by Henry Wilkes at 2026-09-16T16:33:29+00:00
    fixup! TB 44361: Notification for dropped support for 32-bit Linux.
    
    TB 44887: Drop the deprecation notice.
    
    This reverts commit 7d9ed316243ed2aeaf869f7c9d4c16d6831ac56e.
    
  • 3ae535dc
    by Henry Wilkes at 2026-09-16T16:33:29+00:00
    fixup! Tor Browser strings
    
    TB 44887: Drop linux 32-bit deprecation strings.
    

4 changed files:

Changes:

  • browser/base/content/browser-main.js
    ... ... @@ -30,7 +30,6 @@
    30 30
       Services.scriptloader.loadSubScript("chrome://browser/content/places/places-menupopup.js", this);
    
    31 31
       Services.scriptloader.loadSubScript("chrome://browser/content/search/autocomplete-popup.js", this);
    
    32 32
       Services.scriptloader.loadSubScript("chrome://browser/content/search/searchbar.js", this);
    
    33
    -  Services.scriptloader.loadSubScript("chrome://browser/content/droppedSupportNotification.js", this);
    
    34 33
       Services.scriptloader.loadSubScript("chrome://browser/content/languageNotification.js", this);
    
    35 34
       if (AIWindow.isOpeningAIWindow(window)) {
    
    36 35
         ChromeUtils.importESModule("chrome://browser/content/urlbar/SmartbarInput.mjs", { global: "current" });
    

  • browser/base/content/droppedSupportNotification.js deleted
    1
    -"use strict";
    
    2
    -
    
    3
    -// Show a prompt that a user's system will no longer be supported.
    
    4
    -window.addEventListener("load", () => {
    
    5
    -  let labelId;
    
    6
    -
    
    7
    -  if (
    
    8
    -    AppConstants.platform === "linux" &&
    
    9
    -    Services.appinfo.XPCOMABI === "x86-gcc3"
    
    10
    -  ) {
    
    11
    -    labelId = "dropped-support-notification-linux-32-bit";
    
    12
    -    // TODO: switch to the expired label for the final version 15 release.
    
    13
    -    // labelId = "dropped-support-notification-linux-32-bit-expired";
    
    14
    -  }
    
    15
    -
    
    16
    -  const dismissedPref =
    
    17
    -    "browser.dropped_support_notification_v16.dismiss_version";
    
    18
    -
    
    19
    -  if (!labelId) {
    
    20
    -    // Avoid setting any preferences for supported versions, and clean up any
    
    21
    -    // old values if the user ported their profile.
    
    22
    -    Services.prefs.clearUserPref(dismissedPref);
    
    23
    -    return;
    
    24
    -  }
    
    25
    -
    
    26
    -  if (
    
    27
    -    Services.prefs.getStringPref(dismissedPref, "") ===
    
    28
    -    AppConstants.BASE_BROWSER_VERSION
    
    29
    -  ) {
    
    30
    -    // Already dismissed since the last update.
    
    31
    -    return;
    
    32
    -  }
    
    33
    -
    
    34
    -  let locale = Services.locale.appLocaleAsBCP47;
    
    35
    -  if (locale === "ja-JP-macos") {
    
    36
    -    // Convert quirk-locale to the locale used for tor project.
    
    37
    -    locale = "ja";
    
    38
    -  }
    
    39
    -  // NOTE: The support page only covers a subset of locales. But they should
    
    40
    -  // redirect to the default en-US page if the locale is not supported.
    
    41
    -  // Locales that have support pages.
    
    42
    -  // NOTE: /es-ES/ will redirect to /es/.
    
    43
    -  const link = `https://support.torproject.org/${locale}/tor-browser/security/legacy-os/`;
    
    44
    -
    
    45
    -  const buttons = [
    
    46
    -    {
    
    47
    -      "l10n-id": "notification-learnmore-default-label",
    
    48
    -      link,
    
    49
    -    },
    
    50
    -    {
    
    51
    -      "l10n-id": "dropped-support-notification-dismiss-button",
    
    52
    -      callback: () => {
    
    53
    -        Services.prefs.setStringPref(
    
    54
    -          dismissedPref,
    
    55
    -          AppConstants.BASE_BROWSER_VERSION
    
    56
    -        );
    
    57
    -      },
    
    58
    -    },
    
    59
    -  ];
    
    60
    -
    
    61
    -  gNotificationBox.appendNotification(
    
    62
    -    "dropped-support-notification",
    
    63
    -    {
    
    64
    -      label: { "l10n-id": labelId },
    
    65
    -      priority: gNotificationBox.PRIORITY_WARNING_HIGH,
    
    66
    -    },
    
    67
    -    buttons
    
    68
    -  );
    
    69
    -});

  • browser/base/jar.mn
    ... ... @@ -101,5 +101,4 @@ browser.jar:
    101 101
             content/browser/spotlight.js                  (content/spotlight.js)
    
    102 102
     *       content/browser/default-bookmarks.html        (content/default-bookmarks.html)
    
    103 103
     
    
    104
    -        content/browser/droppedSupportNotification.js (content/droppedSupportNotification.js)
    
    105 104
             content/browser/languageNotification.js       (content/languageNotification.js)

  • toolkit/locales/en-US/toolkit/global/tor-browser.ftl
    ... ... @@ -771,19 +771,6 @@ onion-site-saved-keys-dialog-remove-all-button = Remove all
    771 771
     onion-site-saved-keys-dialog-fetch-keys-error-message = Unable to retrieve keys from Tor
    
    772 772
     onion-site-saved-keys-dialog-remove-keys-error-message = Unable to remove key
    
    773 773
     
    
    774
    -## Notification for dropped support for 32-bit Linux.
    
    775
    -
    
    776
    -# Shown before support has ended.
    
    777
    -# "{ -brand-product-name }" will be replaced with the localized name of the browser, e.g. "Tor Browser".
    
    778
    -# "16.0" refers to the browser versions number: Tor Browser 16.0.
    
    779
    -# "32-bit" and "64-bit" refer to CPU types: en.wikipedia.org/wiki/32-bit_computing .
    
    780
    -dropped-support-notification-linux-32-bit = The next major version of { -brand-product-name } (16.0) will no longer support 32-bit Linux. Please install { -brand-product-name } on a 64-bit Linux operating system to continue receiving important security updates.
    
    781
    -# Shown after support has ended.
    
    782
    -# "{ -brand-product-name }" will be replaced with the localized name of the browser, e.g. "Tor Browser".
    
    783
    -# "32-bit" and "64-bit" refer to CPU types: en.wikipedia.org/wiki/32-bit_computing .
    
    784
    -dropped-support-notification-linux-32-bit-expired = { -brand-product-name } no longer supports 32-bit Linux. Please install { -brand-product-name } on a 64-bit Linux operating system to continue receiving important security updates.
    
    785
    -dropped-support-notification-dismiss-button = Got it
    
    786
    -
    
    787 774
     ## Year end campaign 2026.
    
    788 775
     
    
    789 776
     yec-2026-heading = Tor: powered by you
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx