[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.8.0esr-13.5-1] 3 commits: fixup! Bug 40562: Added Tor Browser preferences to 000-tor-browser.js

richard (@richard) git at gitlab.torproject.org
Wed Mar 6 18:41:18 UTC 2024



richard pushed to branch tor-browser-115.8.0esr-13.5-1 at The Tor Project / Applications / Tor Browser


Commits:
ba957be4 by Henry Wilkes at 2024-03-06T18:40:27+00:00
fixup! Bug 40562: Added Tor Browser preferences to 000-tor-browser.js

Bug 42437: Drop "torbrowser.version" pref.

- - - - -
cba03e79 by Henry Wilkes at 2024-03-06T18:40:27+00:00
fixup! Bug 7494: Create local home page for TBB.

Bug 42437: Drop "torbrowser.version" pref.

- - - - -
f44e1549 by Henry Wilkes at 2024-03-06T18:40:27+00:00
fixup! Bug 12620: TorBrowser regression tests

Bug 42437: Drop "torbrowser.version" pref.

- - - - -


3 changed files:

- browser/app/profile/000-tor-browser.js
- browser/components/abouttor/AboutTorMessage.sys.mjs
- tbb-tests/browser_tor_TB4.js


Changes:

=====================================
browser/app/profile/000-tor-browser.js
=====================================
@@ -46,8 +46,6 @@ pref("network.http.http3.enable", false);
 // 0 = do not use a second connection, see all.js and #7656
 pref("network.http.connection-retry-timeout", 0);
 
-#expand pref("torbrowser.version", __BASE_BROWSER_VERSION_QUOTED__);
-
 // Tor Browser used to be compatible with non-Tor proxies. This feature is not
 // available anymore, but this legacy preference can be still used to disable
 // first-party domain circuit isolation.


=====================================
browser/components/abouttor/AboutTorMessage.sys.mjs
=====================================
@@ -27,7 +27,9 @@ export const AboutTorMessage = {
     if (Services.prefs.getBoolPref(shouldNotifyPref, false)) {
       Services.prefs.clearUserPref(shouldNotifyPref);
       return {
-        updateVersion: Services.prefs.getCharPref("torbrowser.version"),
+        updateVersion: Services.prefs.getCharPref(
+          "browser.startup.homepage_override.torbrowser.version"
+        ),
         updateURL:
           Services.prefs.getCharPref("torbrowser.post_update.url", "") ||
           Services.urlFormatter.formatURLPref("startup.homepage_override_url"),


=====================================
tbb-tests/browser_tor_TB4.js
=====================================
@@ -11,9 +11,6 @@ let expectedPrefs = [
 
    // Disable the "Refresh" prompt that is displayed for stale profiles.
    ["browser.disableResetPrompt", true],
-
-   // Version placeholder
-   ["torbrowser.version", "dev-build"],
   ];
 
 let getPref = function (prefName) {



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/12e3f725e9032657cef42e145d97ebcb6ebf39a1...f44e1549fe9304fd6bf759717d4706c0b0fb6259

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/12e3f725e9032657cef42e145d97ebcb6ebf39a1...f44e1549fe9304fd6bf759717d4706c0b0fb6259
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240306/494f3835/attachment-0001.htm>


More information about the tbb-commits mailing list