tor-browser

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

commit 531d8b08b0bb4d423e0b1981c20622f649a1a5c6
parent dd91baa556632d4aa9b39704946bd44783b508d2
Author: Emily McMinn <emcminn@mozilla.com>
Date:   Mon, 10 Nov 2025 16:36:13 +0000

Bug 1997069 - Check for all falsy values in filepath r=hsohaney,cdupuis

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

Diffstat:
Mbrowser/components/backup/content/turn-on-scheduled-backups.mjs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/browser/components/backup/content/turn-on-scheduled-backups.mjs b/browser/components/backup/content/turn-on-scheduled-backups.mjs @@ -364,7 +364,7 @@ export default class TurnOnScheduledBackups extends MozLitElement { // - other unknown errors if ( (this._showPasswordOptions && !this._passwordsMatch) || - (this._newPath == "" && this.defaultLabel == "") || + (!this._newPath && !this.defaultLabel) || this.enableBackupErrorCode != ERRORS.NONE ) { this.disableSubmit = true;