tor-browser

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

commit fbaed19437a7b78456f27ebe78042714245c8d0b
parent da5ff6686790e50e6f30e5304b7e24c8ef8f3377
Author: Geoff Lankow <geoff@darktrojan.net>
Date:   Wed,  5 Nov 2025 03:29:21 +0000

Bug 1998316 - Stop calling `resetSessionState` in browser-test.js, if the application is Thunderbird. r=amarc

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

Diffstat:
Mtesting/mochitest/browser-test.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testing/mochitest/browser-test.js b/testing/mochitest/browser-test.js @@ -985,7 +985,9 @@ Tester.prototype = { window.SpecialPowers.cleanupAllClipboard(); - this.resetSessionState(); + if (AppConstants.MOZ_APP_NAME != "thunderbird") { + this.resetSessionState(); + } if (gConfig.cleanupCrashes) { let gdir = Services.dirsvc.get("UAppData", Ci.nsIFile);