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

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-147.0a1-16.0-2] BB 43901: Modify about:license.



Title: GitLab

henry pushed to branch base-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

  • 0f8c1a1a
    by henry at 2026-01-19T15:50:13+00:00
    BB 43901: Modify about:license.
    
    We also drop about:rights.
    
    
    (cherry picked from commit d15d1ad113c2caba2815e46ab5d90e686ca494e5)
    
    Co-authored-by: Henry Wilkes <henry@xxxxxxxxxxxxxx>

4 changed files:

Changes:

  • browser/base/moz.build
    ... ... @@ -79,7 +79,8 @@ PERFTESTS_MANIFESTS += ["content/test/perftest.toml"]
    79 79
     DEFINES["MOZ_APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
    
    80 80
     DEFINES["MOZ_APP_VERSION_DISPLAY"] = CONFIG["MOZ_APP_VERSION_DISPLAY"]
    
    81 81
     
    
    82
    -DEFINES["APP_LICENSE_BLOCK"] = "%s/content/overrides/app-license.html" % SRCDIR
    
    82
    +# Do not include the Firefox app-license.html in about:license.
    
    83
    +# tor-browser#43901.
    
    83 84
     
    
    84 85
     if CONFIG["BASE_BROWSER_UPDATE"]:
    
    85 86
         DEFINES["BASE_BROWSER_UPDATE"] = True
    

  • browser/components/about/AboutRedirector.cpp
    ... ... @@ -95,9 +95,7 @@ static const RedirEntry kRedirMap[] = {
    95 95
         {"profiling",
    
    96 96
          "chrome://devtools/content/performance-new/aboutprofiling/index.html",
    
    97 97
          nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
    
    98
    -    {"rights", "https://www.mozilla.org/about/legal/terms/firefox/",
    
    99
    -     nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
    
    100
    -         nsIAboutModule::URI_MUST_LOAD_IN_CHILD},
    
    98
    +// Drop about:rights. tor-browser#43901.
    
    101 99
     #ifndef BASE_BROWSER_VERSION
    
    102 100
         {"robots", "chrome://browser/content/aboutRobots.xhtml",
    
    103 101
          nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
    

  • browser/components/about/components.conf
    ... ... @@ -24,7 +24,7 @@ pages = [
    24 24
         'profiling',
    
    25 25
         'reader',
    
    26 26
         'restartrequired',
    
    27
    -    'rights',
    
    27
    +    # Removed 'rights'. tor-browser#43901.
    
    28 28
         # Removed 'robots'. tor-browser#42831.
    
    29 29
         'sessionrestore',
    
    30 30
         'settings',
    

  • toolkit/themes/shared/aboutLicense.css
    ... ... @@ -5,13 +5,9 @@
    5 5
     /* License Illustration */
    
    6 6
     
    
    7 7
     .license-header {
    
    8
    -  background-image: url("chrome://global/skin/illustrations/about-license.svg");
    
    9
    -  background-repeat: no-repeat;
    
    10
    -  background-position: right center;
    
    11
    -  min-height: 300px;
    
    12
    -  display: flex;
    
    13
    -  align-items: center;
    
    14
    -  padding-inline-end: 320px;
    
    8
    +  /* Adjust the header to remove the background, which is out of place without
    
    9
    +   * the app-license.html content. */
    
    10
    +  align-self: start;
    
    15 11
     }
    
    16 12
     
    
    17 13
     td:nth-child(1),
    

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