Avoid console warning about resource://gre/modules/FxAccountsCommon.js
This commit is contained in:
parent
328de1e790
commit
969b782fd0
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue