From 969b782fd05ff6005ad92e45bd2ad495744ecc27 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 5 May 2023 00:37:09 -0400 Subject: [PATCH] Avoid console warning about resource://gre/modules/FxAccountsCommon.js --- app/scripts/fetch_xulrunner | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/scripts/fetch_xulrunner b/app/scripts/fetch_xulrunner index b147d68417..f2dc38428a 100755 --- a/app/scripts/fetch_xulrunner +++ b/app/scripts/fetch_xulrunner @@ -126,6 +126,9 @@ 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 + # Prevent error during network requests replace_line 'async lazyInit\(\) \{' 'async lazyInit() { if (this.features) return false;' modules/UrlClassifierExceptionListService.jsm