tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c16c263c6e347e493e178287356c9fb5fab0efa5
parent 9b629fb4e490657c327f03fb9faf527d00099478
Author: Alexandre Lissy <lissyx+mozillians@lissyx.dyndns.org>
Date:   Tue, 14 Oct 2025 10:32:30 +0000

Bug 1853108 - Enable Crash Pull on nightly r=gcp,fluent-reviewers,bolsson

Differential Revision: https://phabricator.services.mozilla.com/D251017

Diffstat:
Mmodules/libpref/init/StaticPrefList.yaml | 5++---
Mtoolkit/components/crashes/tests/xpcshell/test_remote_settings_crash_pull_nightly.js | 13++++++-------
2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml @@ -1407,13 +1407,12 @@ mirror: always # Control whether we enable the feature of crash pull at all -# Disabled by default for now until further notice - name: browser.crashReports.crashPull type: bool - value: false + value: @IS_NIGHTLY_BUILD@ mirror: always -# Should we prompt the user to send targetted crash report requested by devs? +# Should we prompt the user to send targeted crash report requested by devs? - name: browser.crashReports.requestedNeverShowAgain type: bool value: false diff --git a/toolkit/components/crashes/tests/xpcshell/test_remote_settings_crash_pull_nightly.js b/toolkit/components/crashes/tests/xpcshell/test_remote_settings_crash_pull_nightly.js @@ -3,9 +3,9 @@ "use strict"; -/* const { AppConstants } = ChromeUtils.importESModule( +const { AppConstants } = ChromeUtils.importESModule( "resource://gre/modules/AppConstants.sys.mjs" -); */ +); const { RemoteSettingsCrashPull } = ChromeUtils.importESModule( "resource://gre/modules/RemoteSettingsCrashPull.sys.mjs" @@ -19,12 +19,11 @@ add_task(function test_pref_value() { const prefValue = Services.prefs.getBoolPref( "browser.crashReports.crashPull" ); - // Disabled by default until further notice - /* if (AppConstants.NIGHTLY_BUILD) { + if (AppConstants.NIGHTLY_BUILD) { Assert.ok(prefValue, "RemoteSettingsCrashPull pref enabled on nightly"); - } else { */ - Assert.ok(!prefValue, "RemoteSettingsCrashPull pref disabled on nightly"); - /* } */ + } else { + Assert.ok(!prefValue, "RemoteSettingsCrashPull pref disabled on nightly"); + } }); add_task(function test_pref_disabled() {