lists.torproject.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

tbb-commits

Thread Start a new thread
Threads by month
  • ----- 2026 -----
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2015 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2014 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
tbb-commits@lists.torproject.org

February 2026

  • 1 participants
  • 173 discussions
[Git][tpo/applications/mullvad-browser][mullvad-browser-147.0a1-16.0-2] 2 commits: fixup! BB 43525: Skip Remote Settings for search engine customization.
by henry (@henry) 16 Feb '26

16 Feb '26
henry pushed to branch mullvad-browser-147.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser Commits: a2ea1688 by Henry Wilkes at 2026-02-16T14:25:34+00:00 fixup! BB 43525: Skip Remote Settings for search engine customization. TB 44647: Restore upstream's logic for getConfiguration* methods. - - - - - e64642c4 by Henry Wilkes at 2026-02-16T14:25:35+00:00 fixup! BB 43525: Skip Remote Settings for search engine customization. TB 44647: Re-implement the search configuration patch in a more minimal form. - - - - - 1 changed file: - toolkit/components/search/SearchEngineSelector.sys.mjs Changes: ===================================== toolkit/components/search/SearchEngineSelector.sys.mjs ===================================== @@ -92,19 +92,44 @@ export class SearchEngineSelector { return this.#getConfigurationPromise; } - let { promise, resolve } = Promise.withResolvers(); - this.#getConfigurationPromise = promise; - this.#configuration = await ( - await fetch( - "chrome://global/content/search/base-browser-search-engines.json" - ) - ).json(); - resolve(this.#configuration); + this.#getConfigurationPromise = Promise.all([ + this.#getConfiguration(), + this.#getConfigurationOverrides(), + ]); + let remoteSettingsData = await this.#getConfigurationPromise; + this.#configuration = remoteSettingsData[0]; + // For Base Browser, we don't expect the configuration to ever change in a + // session, so we keep the #getConfigurationPromise as-is for later calls. + + if (!this.#configuration?.length) { + throw Components.Exception( + "Failed to get engine data from Remote Settings", + Cr.NS_ERROR_UNEXPECTED + ); + } + + /** + * Records whether the listeners have been added or not. + */ + // For Base Browser, we don't use remoteConfig. tor-browser#43525. + if (!AppConstants.BASE_BROWSER_VERSION && !this.#listenerAdded) { + this.#remoteConfig.on("sync", this.#boundOnConfigurationUpdated); + this.#remoteConfigOverrides.on( + "sync", + this.#boundOnConfigurationOverridesUpdated + ); + /** + * Records whether the listeners have been added or not. + */ + this.#listenerAdded = true; + } this.#selector.setSearchConfig( JSON.stringify({ data: this.#configuration }) ); - this.#selector.setConfigOverrides(JSON.stringify({ data: [] })); + this.#selector.setConfigOverrides( + JSON.stringify({ data: remoteSettingsData[1] }) + ); return this.#configuration; } @@ -324,6 +349,15 @@ export class SearchEngineSelector { * could be obtained. */ async #getConfiguration(firstTime = true) { + if (AppConstants.BASE_BROWSER_VERSION) { + // For Base Browser, load the config from a local file, rather than + // #remoteConfig. tor-browser#43525. + return ( + await fetch( + "chrome://global/content/search/base-browser-search-engines.json" + ) + ).json(); + } let result = []; let failed = false; try { @@ -409,6 +443,27 @@ export class SearchEngineSelector { } } + /** + * Obtains the configuration overrides from remote settings. + * + * @returns {Promise<object[]>} + * An array of objects in the database, or an empty array if none + * could be obtained. + */ + async #getConfigurationOverrides() { + if (AppConstants.BASE_BROWSER_VERSION) { + // For Base Browser, we don't want overrides. tor-browser#43525. + return []; + } + let result = []; + try { + result = await this.#remoteConfigOverrides.get(); + } catch (ex) { + // This data is remote only, so we just return an empty array if it fails. + } + return result; + } + /** * @type {InstanceType<typeof lazy.SearchEngineSelector>?} */ View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/2c… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/2c… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][base-browser-147.0a1-16.0-2] 2 commits: fixup! BB 43525: Skip Remote Settings for search engine customization.
by henry (@henry) 16 Feb '26

16 Feb '26
henry pushed to branch base-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: 6dd02b02 by Henry Wilkes at 2026-02-16T14:26:38+00:00 fixup! BB 43525: Skip Remote Settings for search engine customization. TB 44647: Restore upstream's logic for getConfiguration* methods. - - - - - 7e71a4c1 by Henry Wilkes at 2026-02-16T14:26:39+00:00 fixup! BB 43525: Skip Remote Settings for search engine customization. TB 44647: Re-implement the search configuration patch in a more minimal form. - - - - - 1 changed file: - toolkit/components/search/SearchEngineSelector.sys.mjs Changes: ===================================== toolkit/components/search/SearchEngineSelector.sys.mjs ===================================== @@ -92,19 +92,44 @@ export class SearchEngineSelector { return this.#getConfigurationPromise; } - let { promise, resolve } = Promise.withResolvers(); - this.#getConfigurationPromise = promise; - this.#configuration = await ( - await fetch( - "chrome://global/content/search/base-browser-search-engines.json" - ) - ).json(); - resolve(this.#configuration); + this.#getConfigurationPromise = Promise.all([ + this.#getConfiguration(), + this.#getConfigurationOverrides(), + ]); + let remoteSettingsData = await this.#getConfigurationPromise; + this.#configuration = remoteSettingsData[0]; + // For Base Browser, we don't expect the configuration to ever change in a + // session, so we keep the #getConfigurationPromise as-is for later calls. + + if (!this.#configuration?.length) { + throw Components.Exception( + "Failed to get engine data from Remote Settings", + Cr.NS_ERROR_UNEXPECTED + ); + } + + /** + * Records whether the listeners have been added or not. + */ + // For Base Browser, we don't use remoteConfig. tor-browser#43525. + if (!AppConstants.BASE_BROWSER_VERSION && !this.#listenerAdded) { + this.#remoteConfig.on("sync", this.#boundOnConfigurationUpdated); + this.#remoteConfigOverrides.on( + "sync", + this.#boundOnConfigurationOverridesUpdated + ); + /** + * Records whether the listeners have been added or not. + */ + this.#listenerAdded = true; + } this.#selector.setSearchConfig( JSON.stringify({ data: this.#configuration }) ); - this.#selector.setConfigOverrides(JSON.stringify({ data: [] })); + this.#selector.setConfigOverrides( + JSON.stringify({ data: remoteSettingsData[1] }) + ); return this.#configuration; } @@ -324,6 +349,15 @@ export class SearchEngineSelector { * could be obtained. */ async #getConfiguration(firstTime = true) { + if (AppConstants.BASE_BROWSER_VERSION) { + // For Base Browser, load the config from a local file, rather than + // #remoteConfig. tor-browser#43525. + return ( + await fetch( + "chrome://global/content/search/base-browser-search-engines.json" + ) + ).json(); + } let result = []; let failed = false; try { @@ -409,6 +443,27 @@ export class SearchEngineSelector { } } + /** + * Obtains the configuration overrides from remote settings. + * + * @returns {Promise<object[]>} + * An array of objects in the database, or an empty array if none + * could be obtained. + */ + async #getConfigurationOverrides() { + if (AppConstants.BASE_BROWSER_VERSION) { + // For Base Browser, we don't want overrides. tor-browser#43525. + return []; + } + let result = []; + try { + result = await this.#remoteConfigOverrides.get(); + } catch (ex) { + // This data is remote only, so we just return an empty array if it fails. + } + return result; + } + /** * @type {InstanceType<typeof lazy.SearchEngineSelector>?} */ View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5734a4… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5734a4… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][tor-browser-147.0a1-16.0-2] 2 commits: fixup! BB 43525: Skip Remote Settings for search engine customization.
by henry (@henry) 16 Feb '26

16 Feb '26
henry pushed to branch tor-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: 63654584 by Henry Wilkes at 2026-02-16T13:02:36+00:00 fixup! BB 43525: Skip Remote Settings for search engine customization. TB 44647: Restore upstream's logic for getConfiguration* methods. - - - - - fbfd9723 by Henry Wilkes at 2026-02-16T13:35:30+00:00 fixup! BB 43525: Skip Remote Settings for search engine customization. TB 44647: Re-implement the search configuration patch in a more minimal form. - - - - - 1 changed file: - toolkit/components/search/SearchEngineSelector.sys.mjs Changes: ===================================== toolkit/components/search/SearchEngineSelector.sys.mjs ===================================== @@ -92,19 +92,44 @@ export class SearchEngineSelector { return this.#getConfigurationPromise; } - let { promise, resolve } = Promise.withResolvers(); - this.#getConfigurationPromise = promise; - this.#configuration = await ( - await fetch( - "chrome://global/content/search/base-browser-search-engines.json" - ) - ).json(); - resolve(this.#configuration); + this.#getConfigurationPromise = Promise.all([ + this.#getConfiguration(), + this.#getConfigurationOverrides(), + ]); + let remoteSettingsData = await this.#getConfigurationPromise; + this.#configuration = remoteSettingsData[0]; + // For Base Browser, we don't expect the configuration to ever change in a + // session, so we keep the #getConfigurationPromise as-is for later calls. + + if (!this.#configuration?.length) { + throw Components.Exception( + "Failed to get engine data from Remote Settings", + Cr.NS_ERROR_UNEXPECTED + ); + } + + /** + * Records whether the listeners have been added or not. + */ + // For Base Browser, we don't use remoteConfig. tor-browser#43525. + if (!AppConstants.BASE_BROWSER_VERSION && !this.#listenerAdded) { + this.#remoteConfig.on("sync", this.#boundOnConfigurationUpdated); + this.#remoteConfigOverrides.on( + "sync", + this.#boundOnConfigurationOverridesUpdated + ); + /** + * Records whether the listeners have been added or not. + */ + this.#listenerAdded = true; + } this.#selector.setSearchConfig( JSON.stringify({ data: this.#configuration }) ); - this.#selector.setConfigOverrides(JSON.stringify({ data: [] })); + this.#selector.setConfigOverrides( + JSON.stringify({ data: remoteSettingsData[1] }) + ); return this.#configuration; } @@ -324,6 +349,15 @@ export class SearchEngineSelector { * could be obtained. */ async #getConfiguration(firstTime = true) { + if (AppConstants.BASE_BROWSER_VERSION) { + // For Base Browser, load the config from a local file, rather than + // #remoteConfig. tor-browser#43525. + return ( + await fetch( + "chrome://global/content/search/base-browser-search-engines.json" + ) + ).json(); + } let result = []; let failed = false; try { @@ -409,6 +443,27 @@ export class SearchEngineSelector { } } + /** + * Obtains the configuration overrides from remote settings. + * + * @returns {Promise<object[]>} + * An array of objects in the database, or an empty array if none + * could be obtained. + */ + async #getConfigurationOverrides() { + if (AppConstants.BASE_BROWSER_VERSION) { + // For Base Browser, we don't want overrides. tor-browser#43525. + return []; + } + let result = []; + try { + result = await this.#remoteConfigOverrides.get(); + } catch (ex) { + // This data is remote only, so we just return an empty array if it fails. + } + return result; + } + /** * @type {InstanceType<typeof lazy.SearchEngineSelector>?} */ View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/bd7cc6… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/bd7cc6… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/mullvad-browser] Pushed new tag FIREFOX_140_7_1esr_BUILD1
by ma1 (@ma1) 16 Feb '26

16 Feb '26
ma1 pushed new tag FIREFOX_140_7_1esr_BUILD1 at The Tor Project / Applications / Mullvad Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/tree/FIREF… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/mullvad-browser] Pushed new tag base-browser-140.7.1esr-15.0-1-build1
by ma1 (@ma1) 16 Feb '26

16 Feb '26
ma1 pushed new tag base-browser-140.7.1esr-15.0-1-build1 at The Tor Project / Applications / Mullvad Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/tree/base-… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/mullvad-browser] Pushed new branch mullvad-browser-140.7.1esr-15.0-1
by ma1 (@ma1) 16 Feb '26

16 Feb '26
ma1 pushed new branch mullvad-browser-140.7.1esr-15.0-1 at The Tor Project / Applications / Mullvad Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/tree/mullv… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/mullvad-browser][mullvad-browser-147.0a1-16.0-2] Bug 2010501 - DNS drop down under privacy and security is broken after 147 - r=valentin,tgiles
by henry (@henry) 16 Feb '26

16 Feb '26
henry pushed to branch mullvad-browser-147.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser Commits: 2cc34d80 by Benjamin VanderSloot at 2026-02-16T11:33:27+00:00 Bug 2010501 - DNS drop down under privacy and security is broken after 147 - r=valentin,tgiles Differential Revision: https://phabricator.services.mozilla.com/D279885 - - - - - 1 changed file: - browser/components/preferences/privacy.js Changes: ===================================== browser/components/preferences/privacy.js ===================================== @@ -3596,21 +3596,6 @@ var gPrivacyPane = { setSyncFromPrefListener("savePasswords", () => this.readSavePasswords()); - if (AlertsServiceDND) { - let notificationsDoNotDisturbBox = document.getElementById( - "notificationsDoNotDisturbBox" - ); - notificationsDoNotDisturbBox.removeAttribute("hidden"); - let checkbox = document.getElementById("notificationsDoNotDisturb"); - document.l10n.setAttributes(checkbox, "permissions-notification-pause"); - if (AlertsServiceDND.manualDoNotDisturb) { - let notificationsDoNotDisturb = document.getElementById( - "notificationsDoNotDisturb" - ); - notificationsDoNotDisturb.setAttribute("checked", true); - } - } - this.initSiteDataControls(); this.initCookieBannerHandling(); View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2cc… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2cc… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][base-browser-147.0a1-16.0-2] Bug 2010501 - DNS drop down under privacy and security is broken after 147 - r=valentin,tgiles
by henry (@henry) 16 Feb '26

16 Feb '26
henry pushed to branch base-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: 5734a44e by henry at 2026-02-16T11:29:49+00:00 Bug 2010501 - DNS drop down under privacy and security is broken after 147 - r=valentin,tgiles Differential Revision: https://phabricator.services.mozilla.com/D279885 (cherry picked from commit bd7cc6e87baf6de2506ba5c171d31ff011f3a718) Co-authored-by: Benjamin VanderSloot <bvandersloot(a)mozilla.com> - - - - - 1 changed file: - browser/components/preferences/privacy.js Changes: ===================================== browser/components/preferences/privacy.js ===================================== @@ -3592,21 +3592,6 @@ var gPrivacyPane = { setSyncFromPrefListener("savePasswords", () => this.readSavePasswords()); - if (AlertsServiceDND) { - let notificationsDoNotDisturbBox = document.getElementById( - "notificationsDoNotDisturbBox" - ); - notificationsDoNotDisturbBox.removeAttribute("hidden"); - let checkbox = document.getElementById("notificationsDoNotDisturb"); - document.l10n.setAttributes(checkbox, "permissions-notification-pause"); - if (AlertsServiceDND.manualDoNotDisturb) { - let notificationsDoNotDisturb = document.getElementById( - "notificationsDoNotDisturb" - ); - notificationsDoNotDisturb.setAttribute("checked", true); - } - } - this.initSiteDataControls(); this.initCookieBannerHandling(); View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5734a44… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5734a44… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][tor-browser-147.0a1-16.0-2] Bug 2010501 - DNS drop down under privacy and security is broken after 147 - r=valentin,tgiles
by henry (@henry) 16 Feb '26

16 Feb '26
henry pushed to branch tor-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: bd7cc6e8 by Benjamin VanderSloot at 2026-02-16T10:13:47+00:00 Bug 2010501 - DNS drop down under privacy and security is broken after 147 - r=valentin,tgiles Differential Revision: https://phabricator.services.mozilla.com/D279885 - - - - - 1 changed file: - browser/components/preferences/privacy.js Changes: ===================================== browser/components/preferences/privacy.js ===================================== @@ -3599,21 +3599,6 @@ var gPrivacyPane = { setSyncFromPrefListener("savePasswords", () => this.readSavePasswords()); - if (AlertsServiceDND) { - let notificationsDoNotDisturbBox = document.getElementById( - "notificationsDoNotDisturbBox" - ); - notificationsDoNotDisturbBox.removeAttribute("hidden"); - let checkbox = document.getElementById("notificationsDoNotDisturb"); - document.l10n.setAttributes(checkbox, "permissions-notification-pause"); - if (AlertsServiceDND.manualDoNotDisturb) { - let notificationsDoNotDisturb = document.getElementById( - "notificationsDoNotDisturb" - ); - notificationsDoNotDisturb.setAttribute("checked", true); - } - } - this.initSiteDataControls(); this.initCookieBannerHandling(); View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/bd7cc6e… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/bd7cc6e… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser] Pushed new tag base-browser-140.7.1esr-15.0-1-build1
by ma1 (@ma1) 16 Feb '26

16 Feb '26
ma1 pushed new tag base-browser-140.7.1esr-15.0-1-build1 at The Tor Project / Applications / Tor Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/base-brow… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • ...
  • 18
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.