Pier Angelo Vendrame pushed to branch tor-browser-148.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

2 changed files:

Changes:

  • toolkit/.eslintrc.mjs
    ... ... @@ -7,7 +7,7 @@ export default [
    7 7
         rules: {
    
    8 8
           // XXX Bug 1326071 - This should be reduced down - probably to 20 or to
    
    9 9
           // be removed & synced with the mozilla/recommended value.
    
    10
    -      complexity: ["error", 47],
    
    10
    +      complexity: ["error", 49],
    
    11 11
         },
    
    12 12
       },
    
    13 13
     ];

  • toolkit/mozapps/update/UpdateService.sys.mjs
    ... ... @@ -2491,6 +2491,13 @@ class Update {
    2491 2491
           this.elevationFailure = false;
    
    2492 2492
         }
    
    2493 2493
     
    
    2494
    +    if (this.unsupported && update.hasAttribute("unsupportedURL")) {
    
    2495
    +      // Override the detailsURL with the dedicated link for the EOL.
    
    2496
    +      // Otherwise it will point to the release blog post for the wrong version.
    
    2497
    +      // See tor-browser#44668.
    
    2498
    +      this.detailsURL = update.getAttribute("unsupportedURL");
    
    2499
    +    }
    
    2500
    +
    
    2494 2501
         if (!this.detailsURL) {
    
    2495 2502
           try {
    
    2496 2503
             // Try using a default details URL supplied by the distribution