From 75eeac1d41f449271fa92a5b7dda0afce431e636 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 11 May 2023 02:09:14 -0400 Subject: [PATCH] Fix avoidance of console warning for FxAccountsCommon.js Follow-up to 969b782fd0 --- app/scripts/fetch_xulrunner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/fetch_xulrunner b/app/scripts/fetch_xulrunner index 2b55a9d610..fa2bf13599 100755 --- a/app/scripts/fetch_xulrunner +++ b/app/scripts/fetch_xulrunner @@ -127,7 +127,7 @@ function modify_omni { if (!updateAuto) {' modules/UpdateService.jsm # Avoid console warning about resource://gre/modules/FxAccountsCommon.js - replace_line 'const logins = this._data.logins;' 'const logins = this._data.logins; if (this._data.logins.length == -1) return;' modules/LoginStore.jsm + replace_line 'const logins = this._data.logins;' 'const logins = this._data.logins; if (this._data.logins.length != -1) return;' modules/LoginStore.jsm # Prevent error during network requests replace_line 'async lazyInit\(\) \{' 'async lazyInit() { if (this.features) return false;' modules/UrlClassifierExceptionListService.jsm