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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.33.0esr-13.5-1] fixup! Bug 4234: Use the Firefox Update Process for Base Browser.



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-115.33.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • f48a5f15
    by Pier Angelo Vendrame at 2026-02-24T15:05:12+01:00
    fixup! Bug 4234: Use the Firefox Update Process for Base Browser.
    
    BB 44668: Allow to replace detailsURL with unsupportedURL.
    
    We perform unsupported detection locally, rather than with a
    server-side logic, that is what Mozilla does.
    So, we send unsupported users to the details of the actual update,
    rather than sending them to a page with details of why they are
    unsupported.
    With this patch, we can distinguish those cases, and send user to a
    more appropriate page when needed.
    

1 changed file:

Changes:

  • toolkit/mozapps/update/UpdateService.sys.mjs
    ... ... @@ -2420,6 +2420,13 @@ function Update(update) {
    2420 2420
         this.elevationFailure = false;
    
    2421 2421
       }
    
    2422 2422
     
    
    2423
    +  if (this.unsupported && update.hasAttribute("unsupportedURL")) {
    
    2424
    +    // Override the detailsURL with the dedicated link for the EOL.
    
    2425
    +    // Otherwise it will point to the release blog post for the wrong version.
    
    2426
    +    // See tor-browser#44668.
    
    2427
    +    this.detailsURL = update.getAttribute("unsupportedURL");
    
    2428
    +  }
    
    2429
    +
    
    2423 2430
       if (!this.detailsURL) {
    
    2424 2431
         try {
    
    2425 2432
           // Try using a default details URL supplied by the distribution
    

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